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.006238/0.006238, allocations: 97.33 kB / 15.73 MB, free: 5.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.002255/0.002256, allocations: 187 kB / 16.67 MB, free: 5.465 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.711/2.711, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3539, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.005318/0.3593, allocations: 1.782 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.3619, allocations: 1.022 MB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.3621, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.3629, allocations: 167.5 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.3632, allocations: 111.6 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.3639, allocations: 175.1 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3642, allocations: 167.6 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3644, allocations: 21.11 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3645, allocations: 71.69 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3647, allocations: 67.7 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3647, allocations: 8 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.3649, allocations: 67.95 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.365, allocations: 39.84 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.3651, allocations: 63.59 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3654, allocations: 199.1 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3654, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3655, allocations: 4 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3655, allocations: 3.938 kB / 1.17 GB, free: 2.828 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008005/0.3663, allocations: 496 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3663, allocations: 16.02 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.3664, allocations: 20.84 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.3667, allocations: 248.9 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3667, allocations: 4.375 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3668, allocations: 12.12 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.367, allocations: 83.38 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.367, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.367, allocations: 3.938 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.367, allocations: 8 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3672, allocations: 39.92 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.3677, allocations: 356.7 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.3679, allocations: 74.61 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.368, allocations: 32.84 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.368, allocations: 8 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.3682, allocations: 79.38 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.3682, allocations: 0 / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004289/0.3687, allocations: 145.5 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3688, allocations: 77.11 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.3691, allocations: 262.8 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3691, allocations: 29.7 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3692, allocations: 120.4 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.3693, allocations: 31.77 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.3693, allocations: 25.72 kB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3695, allocations: 342.7 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.3696, allocations: 23.98 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.601e-05/0.3697, allocations: 63.3 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3698, allocations: 69.73 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3699, allocations: 4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002349/0.3701, allocations: 113.5 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3701, allocations: 4 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3701, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3702, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.3703, allocations: 15.92 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3703, allocations: 112 / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.3704, allocations: 23.86 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3704, allocations: 7.984 kB / 1.173 GB, free: 15.78 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.0001482/0.3705, allocations: 134.3 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.3706, allocations: 23.89 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.3706, allocations: 17.41 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3706, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3707, allocations: 4 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3707, allocations: 7.922 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3709, allocations: 225.5 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3709, allocations: 0 / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.3709, allocations: 4 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.371, allocations: 0 / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.371, allocations: 4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.371, allocations: 4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.371, allocations: 4.031 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3713, allocations: 144.9 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.3714, allocations: 101 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3714, allocations: 8 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.3715, allocations: 3.984 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3715, allocations: 4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3715, allocations: 7.938 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001936/0.3717, allocations: 200.4 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3717, allocations: 3.938 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002647/0.372, allocations: 27.94 kB / 1.174 GB, free: 14.77 MB / 0.9356 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.001048/0.3731, allocations: 423.2 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3733, allocations: 79.91 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3733, allocations: 0 / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.3734, allocations: 31.98 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3737, allocations: 46.7 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.3743, allocations: 298.8 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3746, allocations: 0.724 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.986e-05/0.3747, allocations: 21.72 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.3748, allocations: 19.42 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.3748, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.005937/0.3807, allocations: 2.286 MB / 1.178 GB, free: 10.98 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches