Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.055/3.055, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.679e-06, allocations: 3.984 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.46e-05, allocations: 7.406 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003729/0.003763, allocations: 1.81 MB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.006397, allocations: 1.144 MB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.006532, allocations: 5.188 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.007305, allocations: 158 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.007816, allocations: 163.2 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.008255, allocations: 140.3 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.008582, allocations: 180.6 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.008692, allocations: 17.23 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.008902, allocations: 95.73 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.00906, allocations: 69.38 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.009091, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.009299, allocations: 71.81 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.009393, allocations: 39.86 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.009479, allocations: 45.78 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.009864, allocations: 195.4 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.009871, allocations: 4 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/0.009872, allocations: 0 / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.00988, allocations: 0 / 0.8148 GB, free: 13.95 MB / 0.7761 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.0009255/0.01081, allocations: 0.5412 MB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01084, allocations: 8.031 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.01094, allocations: 28.84 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.01132, allocations: 185.3 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.01134, allocations: 8.375 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.01136, allocations: 4.375 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.01154, allocations: 70.62 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01155, allocations: 3.938 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.01156, allocations: 4.516 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.01158, allocations: 4.938 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01168, allocations: 27.98 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.01236, allocations: 368.3 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.01258, allocations: 75.09 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.01265, allocations: 25.59 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.01267, allocations: 3.984 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.01287, allocations: 92.97 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.01287, allocations: 0 / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0003933/0.01326, allocations: 118.7 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.01331, allocations: 55.34 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.0137, allocations: 326.4 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.01373, allocations: 30.58 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.01389, allocations: 182.8 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.01393, allocations: 24.3 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.01399, allocations: 39.36 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003151/0.01431, allocations: 0.5127 MB / 0.8175 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.01438, allocations: 19.98 kB / 0.8175 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01449, allocations: 77.59 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01463, allocations: 68.53 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01463, allocations: 0 / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002322/0.01486, allocations: 109.5 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01488, allocations: 4.781 kB / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01488, allocations: 4 kB / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.0149, allocations: 0.875 kB / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.01498, allocations: 8 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01498, allocations: 160 / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.01506, allocations: 17.44 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.01508, allocations: 7.984 kB / 0.8178 GB, free: 10.71 MB / 0.7761 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.0001601/0.01524, allocations: 173.6 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.01528, allocations: 19.84 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.01554, allocations: 115.2 kB / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.01555, allocations: 7.219 kB / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01556, allocations: 0 / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01556, allocations: 0 / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.01582, allocations: 204.5 kB / 0.8183 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.01583, allocations: 4 kB / 0.8183 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.01586, allocations: 4 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.01587, allocations: 4 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01588, allocations: 3.984 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01588, allocations: 0 / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01588, allocations: 0.5 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.01618, allocations: 161.5 kB / 0.8184 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.01622, allocations: 15.86 kB / 0.8185 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01624, allocations: 0 / 0.8185 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.0163, allocations: 7.984 kB / 0.8185 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.01635, allocations: 9.094 kB / 0.8185 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.01636, allocations: 3.984 kB / 0.8185 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000229/0.01659, allocations: 216.5 kB / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01659, allocations: 0.6562 kB / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002604/0.01685, allocations: 38.33 kB / 0.8187 GB, free: 9.676 MB / 0.7761 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.003077/0.01993, allocations: 449.8 kB / 0.8192 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.02017, allocations: 76.59 kB / 0.8192 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.02017, allocations: 0 / 0.8192 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.02026, allocations: 43.67 kB / 0.8193 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.02059, allocations: 44.38 kB / 0.8193 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.02123, allocations: 287.7 kB / 0.8196 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.02136, allocations: 113.9 kB / 0.8197 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.293e-05/0.02144, allocations: 21.78 kB / 0.8197 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.02148, allocations: 16.5 kB / 0.8197 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.02148, allocations: 0 / 0.8197 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of Templates: time 0.007403/0.02889, allocations: 2.446 MB / 0.8221 GB, free: 6.383 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.01995516801253]