Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.007258/0.007258, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001225/0.001225, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.748/2.748, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4301, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002323/0.4325, allocations: 0.6263 MB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.4344, allocations: 1.121 MB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.4345, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.4347, allocations: 4 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.4349, allocations: 15.86 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.4354, allocations: 127.7 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.4357, allocations: 187.7 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.4358, allocations: 23.97 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4359, allocations: 79.89 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.4361, allocations: 75.72 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.4362, allocations: 16 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.4363, allocations: 27.98 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.4363, allocations: 27.95 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.4365, allocations: 67.77 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.4368, allocations: 199.4 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4368, allocations: 4 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4368, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4368, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 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.000659/0.4375, allocations: 458.5 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.4375, allocations: 8.031 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.4376, allocations: 12.89 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.4379, allocations: 220.3 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.438, allocations: 8.312 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.438, allocations: 12.38 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4382, allocations: 103.8 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4382, allocations: 192 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4383, allocations: 7.938 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.4383, allocations: 4 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.4384, allocations: 39.97 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.4391, allocations: 492.8 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.4392, allocations: 57.14 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.4392, allocations: 29.75 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.4392, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.4394, allocations: 117 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4394, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0003445/0.4398, allocations: 141.9 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.4399, allocations: 81.11 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.44, allocations: 129.8 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.4401, allocations: 29.7 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.4402, allocations: 112 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.4402, allocations: 3.953 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4403, allocations: 53.69 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4405, allocations: 326.8 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.4407, allocations: 123.9 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.4409, allocations: 165 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.4412, allocations: 228.3 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4412, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005667/0.4418, allocations: 384.7 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.4419, allocations: 59.41 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4419, allocations: 0 / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4419, allocations: 7.984 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.27e-05/0.4419, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4419, allocations: 8.125 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.4423, allocations: 71.8 kB / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.4424, allocations: 15.98 kB / 1.172 GB, free: 388 kB / 0.92 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.0001182/0.4425, allocations: 133.8 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.4425, allocations: 11.95 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.4425, allocations: 7.891 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4426, allocations: 4 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4426, allocations: 4 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4426, allocations: 3.938 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4428, allocations: 185.7 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4428, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.4428, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4428, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4428, allocations: 4 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4428, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4428, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.443, allocations: 149.8 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.4431, allocations: 85.06 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.4431, allocations: 3.984 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.4431, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.4432, allocations: 7.938 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4432, allocations: 8 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.4433, allocations: 99.25 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4433, allocations: 4 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002549/0.4435, allocations: 39.94 kB / 1.173 GB, free: 15.53 MB / 0.9356 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.0001831/0.4437, allocations: 103.2 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.4442, allocations: 322.6 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4442, allocations: 0 / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.4443, allocations: 35.92 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.4445, allocations: 25.36 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.445, allocations: 211.1 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4453, allocations: 0.7041 MB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.4453, allocations: 7.938 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.4453, allocations: 11.44 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.4453, allocations: 4 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.005185/0.4505, allocations: 2.268 MB / 1.177 GB, free: 11.8 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches