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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001217/0.001217, allocations: 106.9 kB / 16.41 MB, free: 6.457 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.001107/0.001108, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.395/1.395, 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 11.0.0-master/package.mo): time 2.571/2.571, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9514/0.9529, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003375/0.9563, allocations: 1.781 MB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.9581, allocations: 1.017 MB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.9582, allocations: 4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007219/0.959, allocations: 159.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.9593, allocations: 118.6 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.9599, allocations: 163.5 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.9602, allocations: 171.6 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.9603, allocations: 25.09 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.9604, allocations: 75.62 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.9606, allocations: 71.75 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.9606, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.9608, allocations: 63.95 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.9609, allocations: 43.78 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.961, allocations: 63.61 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.9613, allocations: 203.2 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9614, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9614, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.9614, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 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.0008443/0.9622, allocations: 498.1 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9623, allocations: 8.031 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.9624, allocations: 20.75 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.9627, allocations: 248.9 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.9627, allocations: 384 / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.9627, allocations: 12.12 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.9629, allocations: 87.31 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.963, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.963, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.963, allocations: 4 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.9631, allocations: 39.98 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.9637, allocations: 356.6 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.9639, allocations: 74.61 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.9639, allocations: 36.84 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.964, allocations: 4 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.9641, allocations: 75.39 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.474e-06/0.9642, allocations: 3.938 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0003607/0.9645, allocations: 141.5 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.9646, allocations: 81.09 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.9649, allocations: 259.1 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.9649, allocations: 29.7 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.965, allocations: 120.1 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.965, allocations: 19.72 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.9651, allocations: 33.97 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9652, allocations: 330.8 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.9653, allocations: 23.98 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/0.9654, allocations: 67.34 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.9656, allocations: 77.78 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9656, allocations: 3.938 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002053/0.9658, allocations: 113.4 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9658, allocations: 4 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9658, allocations: 4 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9658, allocations: 0 / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.9659, allocations: 11.98 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.9659, allocations: 0 / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.136e-05/0.966, allocations: 11.97 kB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.966, allocations: 11.94 kB / 1.215 GB, free: 6.641 MB / 0.9356 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.000146/0.9662, allocations: 137.8 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.9662, allocations: 15.81 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.9663, allocations: 25.39 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9663, allocations: 0 / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9663, allocations: 0 / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.9663, allocations: 88.92 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.9664, allocations: 15.92 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.9664, allocations: 0 / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.9665, allocations: 15.92 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002288/0.9667, allocations: 185 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002732/0.967, allocations: 294.4 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.737e-05/0.9671, allocations: 35.98 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001786/0.9673, allocations: 204.4 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of Backend: time 4.01e-07/0.9673, allocations: 0 / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.9687, allocations: 469.4 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007961/0.9695, allocations: 0.7459 MB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.006262/0.9757, allocations: 2.353 MB / 1.219 GB, free: 2.172 MB / 0.9356 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