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.008337/0.008344, allocations: 102.6 kB / 15.73 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.001914/0.001914, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002908/0.3513, allocations: 1.777 MB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3529, allocations: 1.025 MB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.353, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.3536, allocations: 155.5 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3539, allocations: 127.5 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.3543, allocations: 165.9 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3546, allocations: 167.6 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3547, allocations: 17.11 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3548, allocations: 79.69 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3549, allocations: 71.69 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3549, allocations: 8 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3551, allocations: 59.97 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.3552, allocations: 47.83 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.3553, allocations: 59.61 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3556, allocations: 199.3 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3556, allocations: 0 / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3556, allocations: 0 / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3556, allocations: 0 / 1.212 GB, free: 5.668 MB / 0.9669 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.0007505/0.3563, allocations: 0.4885 MB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3564, allocations: 8.031 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.3565, allocations: 20.73 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.3568, allocations: 244.8 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3569, allocations: 384 / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3569, allocations: 8.125 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.3571, allocations: 91.36 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3571, allocations: 4 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3572, allocations: 8 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.3572, allocations: 0 / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3573, allocations: 39.92 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.3579, allocations: 348.7 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3581, allocations: 82.61 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.3582, allocations: 32.84 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3582, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3584, allocations: 83.38 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 2.976e-06/0.3584, allocations: 3.984 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003487/0.3588, allocations: 137.7 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.3589, allocations: 85.11 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.3591, allocations: 260.1 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3591, allocations: 29.64 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.3592, allocations: 120.1 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.3593, allocations: 31.64 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.3593, allocations: 21.72 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3594, allocations: 334.8 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.3595, allocations: 28.09 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.3596, allocations: 71.23 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3597, allocations: 69.7 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3597, allocations: 0 / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001984/0.3599, allocations: 113.4 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.36, allocations: 8 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.36, allocations: 0 / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.36, allocations: 4.062 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.3601, allocations: 15.92 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3601, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.3602, allocations: 7.938 kB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3602, allocations: 0 / 1.214 GB, free: 2.648 MB / 0.9669 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.0001473/0.3603, allocations: 146.3 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3604, allocations: 23.7 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.3604, allocations: 13.41 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3604, allocations: 8 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3604, allocations: 0 / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3605, allocations: 3.938 kB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.3606, allocations: 229.5 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3607, allocations: 0 / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.885e-05/0.3607, allocations: 4.094 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3607, allocations: 7.938 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3607, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3607, allocations: 4 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3607, allocations: 0 / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3609, allocations: 152.8 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.361, allocations: 92.92 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3611, allocations: 0 / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.3611, allocations: 7.984 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3612, allocations: 4 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3612, allocations: 7.938 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001695/0.3613, allocations: 199.3 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3614, allocations: 4 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002564/0.3616, allocations: 32 kB / 1.215 GB, free: 1.629 MB / 0.9669 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.001007/0.3626, allocations: 425.2 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.3628, allocations: 67.97 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3629, allocations: 0 / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.3629, allocations: 43.92 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3633, allocations: 47.8 kB / 1.216 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3638, allocations: 309.8 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3641, allocations: 0.7201 MB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.668e-05/0.3642, allocations: 25.41 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.3642, allocations: 19.42 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3642, allocations: 0 / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of Templates: time 0.005684/0.3699, allocations: 2.328 MB / 1.219 GB, free: 13.79 MB / 0.9825 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