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.00126/0.00126, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001403/0.001403, allocations: 221.4 kB / 23 MB, free: 4.914 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.284/3.284, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 67.41 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003679/0.3389, allocations: 1.789 MB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3412, allocations: 1.123 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3413, allocations: 3.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.342, allocations: 171.5 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.3425, allocations: 159.4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3429, allocations: 139.6 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.3432, allocations: 167.6 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3433, allocations: 13.31 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.3434, allocations: 83.62 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3436, allocations: 75.72 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.3436, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.3438, allocations: 75.88 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.3439, allocations: 43.84 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.344, allocations: 47.67 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3443, allocations: 207.1 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3443, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3443, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3443, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 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.0008336/0.3451, allocations: 434.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3452, allocations: 15.97 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.3452, allocations: 16.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.3456, allocations: 183 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3456, allocations: 384 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3456, allocations: 12.12 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3458, allocations: 77.53 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3458, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3458, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.3458, allocations: 3.984 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3459, allocations: 43.97 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3465, allocations: 300.2 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3467, allocations: 70.67 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.3468, allocations: 32.84 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3468, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.347, allocations: 87.31 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.347, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003757/0.3473, allocations: 145.5 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3474, allocations: 59.34 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.3477, allocations: 275.1 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.3477, allocations: 33.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3478, allocations: 116.1 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.3479, allocations: 31.77 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.3479, allocations: 25.72 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3481, allocations: 334.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.3482, allocations: 31.98 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3483, allocations: 80.31 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3484, allocations: 89.97 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3484, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002262/0.3487, allocations: 121.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3487, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3487, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3487, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.3488, allocations: 8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3488, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.3488, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3488, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 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.0001543/0.349, allocations: 154.3 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.349, allocations: 19.86 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.3493, allocations: 131 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3493, allocations: 3.984 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3493, allocations: 4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3493, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3495, allocations: 173.1 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3495, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.3495, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3495, allocations: 8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3496, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3496, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3496, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3498, allocations: 164.9 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.3499, allocations: 11.91 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3499, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.3499, allocations: 7.984 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.35, allocations: 7.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.35, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002184/0.3502, allocations: 208.6 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3502, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002469/0.3505, allocations: 31.92 kB / 1.334 GB, free: 9.973 MB / 1.029 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.001684/0.3521, allocations: 447.1 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3524, allocations: 79.83 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3524, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.044e-05/0.3525, allocations: 39.97 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3528, allocations: 48.58 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006544/0.3534, allocations: 352.6 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3536, allocations: 114.6 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.3536, allocations: 19.42 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3536, allocations: 3.938 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of Templates: time 0.005129/0.3587, allocations: 2.664 MB / 1.337 GB, free: 6.359 MB / 1.029 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=400 -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: 12.057876016013324]