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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001005/0.001005, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006875/0.006875, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 462.6 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8.938 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3547, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002179/0.3569, allocations: 1.5 MB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3584, allocations: 0.9979 MB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.3585, allocations: 0 / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.3591, allocations: 151.6 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.3593, allocations: 107.7 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.3598, allocations: 143.7 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.36, allocations: 163.6 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3601, allocations: 21.12 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.3602, allocations: 63.75 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3603, allocations: 63.69 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3604, allocations: 4 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.3606, allocations: 51.97 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.3606, allocations: 39.84 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.761e-05/0.3607, allocations: 85.23 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.361, allocations: 183.7 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.361, allocations: 0 / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.361, allocations: 0 / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.361, allocations: 0 / 1.062 GB, free: 1.871 MB / 0.8106 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.0006168/0.3616, allocations: 472.5 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3617, allocations: 16.02 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3617, allocations: 12.75 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.362, allocations: 252.8 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.362, allocations: 8.312 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.362, allocations: 8.125 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3622, allocations: 91.38 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3622, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3623, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3623, allocations: 4 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.3624, allocations: 31.92 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.3629, allocations: 356.6 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3631, allocations: 78.67 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.3631, allocations: 44.78 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3632, allocations: 0 / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.3633, allocations: 79.38 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3634, allocations: 0 / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003412/0.3637, allocations: 149.3 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3638, allocations: 77.11 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3641, allocations: 266.9 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3641, allocations: 25.7 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.3642, allocations: 116.1 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.3642, allocations: 31.62 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.3642, allocations: 17.72 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3644, allocations: 334.8 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.3645, allocations: 24 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3646, allocations: 63.41 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3647, allocations: 69.64 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3648, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002125/0.365, allocations: 121.5 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.365, allocations: 4.062 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.365, allocations: 4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.365, allocations: 4 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.3651, allocations: 11.98 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3651, allocations: 4.312 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3652, allocations: 7.938 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3652, allocations: 8 kB / 1.065 GB, free: 14.87 MB / 0.8262 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.0001276/0.3653, allocations: 135.4 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3654, allocations: 23.75 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.3654, allocations: 25.39 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3655, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3655, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3655, allocations: 3.938 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.3657, allocations: 221.4 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3657, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.3658, allocations: 7.984 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3658, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3658, allocations: 3.984 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3658, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3658, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.366, allocations: 144.8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.3661, allocations: 92.91 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3661, allocations: 8 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.3662, allocations: 7.984 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3662, allocations: 3.984 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3663, allocations: 7.938 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001814/0.3664, allocations: 200.6 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3665, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002463/0.3667, allocations: 28 kB / 1.066 GB, free: 13.87 MB / 0.8262 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.001025/0.3677, allocations: 435.8 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.368, allocations: 71.97 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.368, allocations: 64 / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.3681, allocations: 39.92 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3684, allocations: 39.86 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.369, allocations: 326.2 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.3694, allocations: 0.7243 MB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.3695, allocations: 25.72 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.3696, allocations: 19.42 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3696, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.005654/0.3752, allocations: 2.163 MB / 1.069 GB, free: 10.17 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches