Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001462, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.09 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8088, allocations: 151.7 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001846/0.8107, allocations: 0.6643 MB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.8117, allocations: 0.8492 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.8118, allocations: 0 / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.8119, allocations: 7.938 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.812, allocations: 7.938 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.8121, allocations: 11.98 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.8122, allocations: 75.81 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.8124, allocations: 31.92 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.8125, allocations: 39.89 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.8126, allocations: 39.89 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.8126, allocations: 4 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.8126, allocations: 8 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.8127, allocations: 27.92 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.8128, allocations: 35.8 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.8129, allocations: 91.67 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8129, allocations: 0 / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8129, allocations: 0 / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8129, allocations: 0 / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006561/0.8136, allocations: 400.9 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8136, allocations: 12.56 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.8137, allocations: 16.78 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.8139, allocations: 192.2 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.8139, allocations: 12.31 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.814, allocations: 384 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.8143, allocations: 167.8 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8144, allocations: 192 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.8144, allocations: 3.938 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.8144, allocations: 8 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.8148, allocations: 151.8 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.8154, allocations: 440.7 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.8157, allocations: 117.1 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.8159, allocations: 77.7 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.816, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.816, allocations: 42.5 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.816, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0007556/0.8168, allocations: 221.6 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.8169, allocations: 89.08 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.817, allocations: 125.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.817, allocations: 29.7 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.8171, allocations: 99.97 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.8171, allocations: 11.95 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.8171, allocations: 25.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8173, allocations: 318.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.8175, allocations: 63.92 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.8177, allocations: 77.62 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.8181, allocations: 133.5 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8181, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004394/0.8185, allocations: 157.9 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8186, allocations: 4 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.8186, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8186, allocations: 8.062 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.8188, allocations: 23.91 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.8188, allocations: 7.875 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.8189, allocations: 19.97 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8189, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.819, allocations: 125.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.8191, allocations: 7.906 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.8191, allocations: 15.52 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.8191, allocations: 0 / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.8192, allocations: 7.938 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8192, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.8194, allocations: 193.6 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8194, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.8196, allocations: 19.97 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8196, allocations: 96 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.8196, allocations: 4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8196, allocations: 4 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8196, allocations: 11.92 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.8201, allocations: 334.5 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.8202, allocations: 85.05 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.8202, allocations: 7.984 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.8204, allocations: 11.98 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.8205, allocations: 27.91 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8205, allocations: 11.92 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.8206, allocations: 95.27 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8206, allocations: 0 / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002799/0.8209, allocations: 15.91 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.821, allocations: 103.2 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.8215, allocations: 139.8 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8215, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.8217, allocations: 76.09 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.8221, allocations: 17.45 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.8226, allocations: 215.9 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.8229, allocations: 0.6963 MB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.823, allocations: 19.36 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.823, allocations: 0 / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.002832/0.8258, allocations: 1.212 MB / 1.175 GB, free: 11.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches