Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002277/0.002277, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.61/2.61, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.7701, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001904/0.772, allocations: 0.6853 MB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.7732, allocations: 1.117 MB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.7733, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.7734, allocations: 9.312 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.7735, allocations: 5.375 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.7739, allocations: 111.8 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.7741, allocations: 191.7 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.7743, allocations: 21.56 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.7744, allocations: 78.94 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.7745, allocations: 59.97 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.7745, allocations: 15.28 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.7746, allocations: 28.89 kB / 0.9514 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.7747, allocations: 26.2 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.7748, allocations: 65.22 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.775, allocations: 195.3 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.775, allocations: 0 / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.967e-06/0.775, allocations: 1.312 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.775, allocations: 0 / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004899/0.7755, allocations: 460.8 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7756, allocations: 8.875 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.7756, allocations: 12.5 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.7758, allocations: 222 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.7759, allocations: 5.219 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.7759, allocations: 11.66 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.7761, allocations: 96.39 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7761, allocations: 192 / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.7761, allocations: 12.92 kB / 0.9524 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.7761, allocations: 9.969 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.7762, allocations: 42.12 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.7767, allocations: 497.5 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.7768, allocations: 56.27 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.7768, allocations: 31.48 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.7768, allocations: 0 / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.777, allocations: 116.5 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.777, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002966/0.7773, allocations: 132.7 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7774, allocations: 83.91 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.7775, allocations: 138.3 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.7775, allocations: 29.92 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.7776, allocations: 103.2 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.7776, allocations: 6.031 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.7777, allocations: 56.66 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.7778, allocations: 325.5 kB / 0.954 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.778, allocations: 122.5 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.7782, allocations: 167.4 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.7785, allocations: 226.4 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7785, allocations: 0 / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005486/0.779, allocations: 380.8 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.7791, allocations: 61.84 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7791, allocations: 1.375 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7791, allocations: 6.5 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/0.7792, allocations: 10.17 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7792, allocations: 1.312 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.7796, allocations: 70.3 kB / 0.955 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.7796, allocations: 12.42 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001145/0.7798, allocations: 138.1 kB / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.7798, allocations: 11.64 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.7798, allocations: 10.66 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7798, allocations: 0 / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7798, allocations: 1.344 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7799, allocations: 5.25 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.78, allocations: 183.5 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.78, allocations: 0.9688 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.78, allocations: 1.188 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.78, allocations: 1.281 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.78, allocations: 5.094 kB / 0.9553 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.78, allocations: 9.484 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.78, allocations: 0 / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.7802, allocations: 134.5 kB / 0.9555 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.7803, allocations: 86.31 kB / 0.9556 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.7803, allocations: 6.531 kB / 0.9556 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.7803, allocations: 0 / 0.9556 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.7804, allocations: 19.81 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.7804, allocations: 6.734 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.7804, allocations: 96.08 kB / 0.9557 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7804, allocations: 0 / 0.9557 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002684/0.7807, allocations: 34.56 kB / 0.9557 GB, free: 3.566 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001795/0.7809, allocations: 109.5 kB / 0.9558 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.7814, allocations: 327.5 kB / 0.9561 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7814, allocations: 4.125 kB / 0.9561 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.7814, allocations: 29.7 kB / 0.9562 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.7817, allocations: 21.22 kB / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.7821, allocations: 225.2 kB / 0.9564 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.7823, allocations: 0.7112 MB / 0.9571 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.7823, allocations: 9.281 kB / 0.9571 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.7824, allocations: 10.97 kB / 0.9571 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7824, allocations: 0 / 0.9571 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.005481/0.7879, allocations: 2.249 MB / 0.9593 GB, free: 1.152 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches