Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 110.8 kB / 16.42 MB, free: 6.527 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.001533/0.001534, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003612/1.047, allocations: 1.786 MB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001877/1.049, allocations: 1.026 MB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/1.049, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006709/1.05, allocations: 163.5 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003067/1.05, allocations: 111.6 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/1.051, allocations: 166.8 kB / 1.23 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/1.051, allocations: 163.6 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/1.051, allocations: 25.11 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/1.051, allocations: 67.75 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/1.052, allocations: 79.69 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/1.052, allocations: 11.94 kB / 1.23 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/1.052, allocations: 55.97 kB / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/1.052, allocations: 35.89 kB / 1.23 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/1.052, allocations: 67.61 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/1.052, allocations: 203.7 kB / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.052, allocations: 0 / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/1.052, allocations: 0 / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.052, allocations: 0 / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008262/1.053, allocations: 0.5 MB / 1.231 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.053, allocations: 12.02 kB / 1.231 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/1.053, allocations: 16.84 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/1.054, allocations: 248.9 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.054, allocations: 384 / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/1.054, allocations: 16.11 kB / 1.231 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/1.054, allocations: 87.36 kB / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.054, allocations: 4 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.054, allocations: 0 / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/1.054, allocations: 4 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/1.054, allocations: 43.91 kB / 1.231 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/1.055, allocations: 352.6 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/1.055, allocations: 74.61 kB / 1.232 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/1.055, allocations: 40.84 kB / 1.232 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/1.055, allocations: 0 / 1.232 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/1.055, allocations: 79.38 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/1.055, allocations: 0 / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0003318/1.055, allocations: 145.5 kB / 1.232 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/1.056, allocations: 77.11 kB / 1.232 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/1.056, allocations: 263.1 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/1.056, allocations: 33.64 kB / 1.232 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/1.056, allocations: 120.1 kB / 1.232 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/1.056, allocations: 23.84 kB / 1.232 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/1.056, allocations: 29.72 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.056, allocations: 334.8 kB / 1.233 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/1.056, allocations: 27.98 kB / 1.233 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/1.056, allocations: 59.36 kB / 1.233 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/1.057, allocations: 69.7 kB / 1.233 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.057, allocations: 0 / 1.233 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001994/1.057, allocations: 117.8 kB / 1.233 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.057, allocations: 4 kB / 1.233 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.057, allocations: 4 kB / 1.233 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.057, allocations: 64 / 1.233 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/1.057, allocations: 15.98 kB / 1.233 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/1.057, allocations: 3.938 kB / 1.233 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/1.057, allocations: 15.89 kB / 1.233 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.057, allocations: 7.938 kB / 1.233 GB, free: 6.516 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001215/1.057, allocations: 142.3 kB / 1.233 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/1.057, allocations: 23.89 kB / 1.233 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/1.057, allocations: 17.41 kB / 1.233 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.057, allocations: 4 kB / 1.233 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.057, allocations: 0 / 1.233 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/1.057, allocations: 97 kB / 1.233 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/1.057, allocations: 7.938 kB / 1.233 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/1.057, allocations: 4 kB / 1.233 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/1.057, allocations: 7.984 kB / 1.233 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002402/1.058, allocations: 188.9 kB / 1.233 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000293/1.058, allocations: 294.5 kB / 1.234 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.415e-05/1.058, allocations: 39.97 kB / 1.234 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002393/1.058, allocations: 192.6 kB / 1.234 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of Backend: time 2.8e-07/1.058, allocations: 0 / 1.234 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001374/1.06, allocations: 458.9 kB / 1.234 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008322/1.061, allocations: 0.7511 MB / 1.235 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.005941/1.066, allocations: 2.373 MB / 1.237 GB, free: 2.012 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches