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.00155/0.00155, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001471/0.001471, allocations: 161.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.833/2.833, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.17 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8358, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002603/0.8384, allocations: 1.794 MB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.84, allocations: 1.113 MB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.8401, allocations: 3.938 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.8406, allocations: 167.2 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.841, allocations: 158.9 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.8413, allocations: 144.1 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.8415, allocations: 178 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.8416, allocations: 14.53 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.8417, allocations: 78.36 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.8418, allocations: 79.25 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.8418, allocations: 8.469 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.842, allocations: 66.42 kB / 1.158 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.8421, allocations: 41.98 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.8421, allocations: 52.22 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.8424, allocations: 205.5 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.8424, allocations: 5.906 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8424, allocations: 3.938 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8424, allocations: 0 / 1.158 GB, free: 30.88 MB / 1.076 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.0006602/0.8431, allocations: 429 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8431, allocations: 7.969 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.8431, allocations: 21.14 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.8434, allocations: 193 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.8434, allocations: 7.188 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.8435, allocations: 10.75 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.8436, allocations: 72.05 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8436, allocations: 3.938 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.8436, allocations: 2.5 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.8437, allocations: 2.5 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.8437, allocations: 41.14 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.8442, allocations: 290.6 kB / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.8443, allocations: 75.69 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.8444, allocations: 40.55 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.8444, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.8446, allocations: 87.89 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.8446, allocations: 0 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0003226/0.8449, allocations: 152.3 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.8449, allocations: 53.97 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.8452, allocations: 273.4 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.8452, allocations: 33.64 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.8452, allocations: 115.9 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.8453, allocations: 32.27 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.8453, allocations: 25.2 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.8453, allocations: 331.7 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.8454, allocations: 32.77 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.8455, allocations: 75.61 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.8456, allocations: 81.78 kB / 1.16 GB, free: 28.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8456, allocations: 0 / 1.16 GB, free: 28.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001852/0.8458, allocations: 126.6 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8458, allocations: 5.719 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8458, allocations: 4 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.8458, allocations: 2.875 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.8459, allocations: 8.703 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.8459, allocations: 3.938 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.846, allocations: 14.17 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.846, allocations: 2.844 kB / 1.16 GB, free: 28.86 MB / 1.076 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.483e-05/0.8461, allocations: 147.2 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.8461, allocations: 20.7 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.8463, allocations: 131.3 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.8464, allocations: 6.141 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8464, allocations: 0 / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8464, allocations: 0 / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.8465, allocations: 164.2 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8465, allocations: 0 / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.8465, allocations: 9.844 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8465, allocations: 3.938 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8465, allocations: 0 / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8465, allocations: 2.906 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8465, allocations: 0 / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.8467, allocations: 171.8 kB / 1.161 GB, free: 28.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.8468, allocations: 13.72 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.8468, allocations: 8 kB / 1.161 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.8468, allocations: 6.203 kB / 1.161 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.8469, allocations: 6.328 kB / 1.161 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.8469, allocations: 2.969 kB / 1.161 GB, free: 28.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001418/0.847, allocations: 198.3 kB / 1.161 GB, free: 28.24 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.847, allocations: 0 / 1.161 GB, free: 28.24 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002387/0.8473, allocations: 34.48 kB / 1.161 GB, free: 28.23 MB / 1.076 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.001581/0.8489, allocations: 462.1 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.8491, allocations: 73.25 kB / 1.162 GB, free: 28.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8491, allocations: 0 / 1.162 GB, free: 28.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.8491, allocations: 41.98 kB / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.8494, allocations: 41.88 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.85, allocations: 318.4 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.552e-05/0.85, allocations: 116.6 kB / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.277e-05/0.8501, allocations: 23 kB / 1.162 GB, free: 27.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.8501, allocations: 17.41 kB / 1.162 GB, free: 27.68 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8501, allocations: 0 / 1.162 GB, free: 27.68 MB / 1.076 GB Notification: Performance of Templates: time 0.005574/0.8557, allocations: 2.399 MB / 1.165 GB, free: 27.37 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] 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/jenkins1/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.629224401083775]