Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001175/0.001175, allocations: 108.6 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.001265/0.001266, allocations: 188.7 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 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.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8635, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003435/0.867, allocations: 1.786 MB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.8688, allocations: 1.022 MB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.8689, allocations: 3.938 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.8696, allocations: 159.5 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.87, allocations: 113 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.8705, allocations: 170.2 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.8708, allocations: 171.6 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.8709, allocations: 17.12 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.8711, allocations: 71.69 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.8712, allocations: 71.73 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.8712, allocations: 8 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.8714, allocations: 67.91 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.8715, allocations: 47.83 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.8716, allocations: 59.61 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.8719, allocations: 197 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.872, allocations: 11.98 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/0.872, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.872, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 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.0007869/0.8728, allocations: 488.3 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8728, allocations: 12.03 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.8729, allocations: 20.75 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.8732, allocations: 244.9 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.8733, allocations: 8.25 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.8733, allocations: 8.125 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.8735, allocations: 87.38 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.8735, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8735, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8736, allocations: 7.984 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.8737, allocations: 39.92 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.8742, allocations: 356.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.8744, allocations: 70.67 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.8745, allocations: 36.84 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.8746, allocations: 11.94 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.8747, allocations: 75.39 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.8748, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003509/0.8751, allocations: 145.4 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.8752, allocations: 81.09 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.8755, allocations: 266.9 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.8755, allocations: 25.7 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.8756, allocations: 120.1 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.8756, allocations: 23.66 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.8757, allocations: 25.7 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8758, allocations: 334.8 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.8759, allocations: 27.98 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.876, allocations: 63.41 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.8761, allocations: 78.05 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8761, allocations: 0 / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002258/0.8764, allocations: 125.4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8764, allocations: 6.5 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8764, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.8764, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.8765, allocations: 11.98 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8765, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.8766, allocations: 11.97 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.8766, allocations: 4 kB / 1.174 GB, free: 12.88 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: 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.0001376/0.8768, allocations: 144 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.8768, allocations: 15.81 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.8768, allocations: 21.39 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.8769, allocations: 4 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8769, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8769, allocations: 3.938 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.8771, allocations: 225.5 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8771, allocations: 0 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.8771, allocations: 4 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8771, allocations: 3.984 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.8772, allocations: 0 / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8772, allocations: 4 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8772, allocations: 0 / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.8774, allocations: 140.8 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.8775, allocations: 104.8 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.8775, allocations: 4 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.8776, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.8776, allocations: 11.97 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.8776, allocations: 15.94 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001848/0.8778, allocations: 192.4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8778, allocations: 0 / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002518/0.8781, allocations: 31.98 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.001021/0.8791, allocations: 417.3 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.8794, allocations: 75.91 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8794, allocations: 0 / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.8795, allocations: 39.91 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.8798, allocations: 43.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.8804, allocations: 332.7 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.8807, allocations: 0.7279 MB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.8808, allocations: 23.42 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8808, allocations: 0 / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.004943/0.8857, allocations: 2.556 MB / 1.179 GB, free: 7.789 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches