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.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.002157/0.002157, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.003046/0.003046, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.86/2.86, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002053/0.002053, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8387, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003005/0.8417, allocations: 1.792 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.8435, allocations: 1.117 MB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.8436, allocations: 9.281 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006474/0.8442, allocations: 164.3 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.8446, allocations: 152.5 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.845, allocations: 151.5 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.8452, allocations: 181.4 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.8453, allocations: 14.02 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.8454, allocations: 68.91 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.8455, allocations: 84.8 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.8455, allocations: 8.438 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.8457, allocations: 70.08 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.8458, allocations: 43.72 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.8458, allocations: 43.22 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.8461, allocations: 213 kB / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8462, allocations: 4 kB / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8462, allocations: 0 / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8462, allocations: 1.156 kB / 1.191 GB, free: 13.77 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.0006485/0.8468, allocations: 430.6 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8468, allocations: 9.312 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.8469, allocations: 17 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.8471, allocations: 188.8 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.8472, allocations: 14.69 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.8472, allocations: 7.312 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8473, allocations: 70.59 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8474, allocations: 4 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8474, allocations: 5.281 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.8474, allocations: 3.484 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.8475, allocations: 34 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.8479, allocations: 297.8 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.8481, allocations: 69.89 kB / 1.192 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.8482, allocations: 36.61 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.8482, allocations: 0 / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.8483, allocations: 90.31 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.8483, allocations: 0 / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0003442/0.8487, allocations: 148.4 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.8487, allocations: 53.77 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.8489, allocations: 280.8 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.849, allocations: 26.45 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.849, allocations: 125.2 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.849, allocations: 29.67 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.8491, allocations: 26.36 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.8491, allocations: 333.5 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.8492, allocations: 31.45 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.535e-05/0.8493, allocations: 80.72 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.8494, allocations: 75.31 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8494, allocations: 0 / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001961/0.8496, allocations: 121.1 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8496, allocations: 5.875 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8497, allocations: 1.094 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8497, allocations: 1.766 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.8497, allocations: 14.83 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8498, allocations: 1.062 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.8498, allocations: 16.36 kB / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.8498, allocations: 3 kB / 1.193 GB, free: 11.76 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.581e-05/0.8499, allocations: 147.8 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.8499, allocations: 15.89 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.8502, allocations: 124.1 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8502, allocations: 7.812 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8502, allocations: 0.6094 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8502, allocations: 5.766 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.8504, allocations: 166.6 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8504, allocations: 0 / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.8504, allocations: 6.391 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8504, allocations: 96 / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8504, allocations: 10.45 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8504, allocations: 0.6094 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8504, allocations: 4.938 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.8506, allocations: 154.1 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.8507, allocations: 19.23 kB / 1.194 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.8507, allocations: 5.906 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.8507, allocations: 4.062 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.8508, allocations: 8.906 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.8508, allocations: 4.141 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001798/0.851, allocations: 204.3 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.851, allocations: 0 / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002768/0.8513, allocations: 36.56 kB / 1.194 GB, free: 11.13 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.00162/0.8529, allocations: 454.6 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.8531, allocations: 83.22 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8531, allocations: 0.75 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.8532, allocations: 46.92 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.8535, allocations: 32.44 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.854, allocations: 316.8 kB / 1.195 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.8541, allocations: 118 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.174e-05/0.8542, allocations: 22.31 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.8543, allocations: 19.55 kB / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.8543, allocations: 0 / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of Templates: time 0.006735/0.861, allocations: 2.394 MB / 1.197 GB, free: 10.26 MB / 1.076 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 -s ida -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/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: 8.669278459972702]