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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001666, allocations: 112.2 kB / 17.08 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 195.6 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 489.2 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8626, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00273/0.8653, allocations: 1.79 MB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.8667, allocations: 1.026 MB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.8668, allocations: 6.656 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.8674, allocations: 167 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.8677, allocations: 111.7 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.8681, allocations: 169.2 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.8683, allocations: 166.3 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.8684, allocations: 21.75 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.8685, allocations: 71.77 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.8687, allocations: 69.17 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.8687, allocations: 8.406 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.8688, allocations: 60.36 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.8689, allocations: 43.91 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.869, allocations: 60.27 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.8693, allocations: 200.1 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8693, allocations: 1 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8693, allocations: 7.938 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5e-06/0.8693, allocations: 0 / 1.266 GB, free: 5.559 MB / 0.9981 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.0005619/0.8699, allocations: 497.6 kB / 1.267 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.8699, allocations: 9.812 kB / 1.267 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.87, allocations: 24.59 kB / 1.267 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.8702, allocations: 242 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8702, allocations: 6.906 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.8703, allocations: 11.06 kB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.8704, allocations: 91.53 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.8705, allocations: 0.5156 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.8705, allocations: 4.656 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.8705, allocations: 3.641 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.8706, allocations: 40.31 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.871, allocations: 356.8 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.8712, allocations: 75.38 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.649e-05/0.8713, allocations: 36.81 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.8713, allocations: 0.7188 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.8714, allocations: 87.88 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.8715, allocations: 0 / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003303/0.8718, allocations: 148.9 kB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.8718, allocations: 79.42 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.8721, allocations: 265.8 kB / 1.268 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.8721, allocations: 26.77 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.8722, allocations: 117.5 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.8722, allocations: 21.62 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.8723, allocations: 25.17 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.8723, allocations: 337 kB / 1.269 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.8724, allocations: 27.03 kB / 1.269 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.8725, allocations: 62.22 kB / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.8726, allocations: 74.25 kB / 1.269 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8726, allocations: 384 / 1.269 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000194/0.8728, allocations: 118.5 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8729, allocations: 5.375 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8729, allocations: 1.375 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.8729, allocations: 0.75 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.873, allocations: 15.22 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.873, allocations: 1.641 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.873, allocations: 16.34 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.8731, allocations: 2.859 kB / 1.269 GB, free: 3.293 MB / 0.9981 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 9.987e-05/0.8732, allocations: 156 kB / 1.269 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.8732, allocations: 16.05 kB / 1.269 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.8733, allocations: 17.8 kB / 1.269 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.8733, allocations: 4.141 kB / 1.269 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8733, allocations: 0 / 1.269 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8733, allocations: 5.438 kB / 1.269 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.8735, allocations: 223 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8735, allocations: 0 / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.8735, allocations: 4.422 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8735, allocations: 0.8906 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.8735, allocations: 1.969 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8735, allocations: 5.453 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8735, allocations: 0.9375 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.8738, allocations: 143.7 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.8738, allocations: 98.92 kB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.8738, allocations: 2.125 kB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.8739, allocations: 8.016 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.8739, allocations: 4.703 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8739, allocations: 11.59 kB / 1.27 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001718/0.8741, allocations: 202.2 kB / 1.27 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8741, allocations: 0.9062 kB / 1.27 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002382/0.8744, allocations: 31.97 kB / 1.27 GB, free: 2.562 MB / 0.9981 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.00142/0.8758, allocations: 422.8 kB / 1.27 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.876, allocations: 74.86 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.876, allocations: 4.969 kB / 1.271 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.8761, allocations: 41.19 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.8764, allocations: 38.11 kB / 1.271 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.8769, allocations: 330.5 kB / 1.271 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.8771, allocations: 0.7262 MB / 1.272 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.8772, allocations: 22.39 kB / 1.272 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.8772, allocations: 0.5312 kB / 1.272 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of Templates: time 0.00532/0.8825, allocations: 2.557 MB / 1.274 GB, free: 1.07 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.55916005722247]