Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001538/0.001538, allocations: 115 kB / 17.08 MB, free: 5.957 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.001599/0.001599, allocations: 191.7 kB / 20.03 MB, free: 3.039 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.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437.1 MB / 0.7177 GB, free: 4.602 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.91 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 151.6 MB / 1.176 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003643/0.323, allocations: 1.787 MB / 1.178 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.325, allocations: 1.01 MB / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3252, allocations: 0 / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.326, allocations: 171.5 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.3263, allocations: 107.6 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.3268, allocations: 171.3 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.3271, allocations: 171.5 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3273, allocations: 29.08 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.3274, allocations: 67.77 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3276, allocations: 67.69 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.3276, allocations: 8 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.3279, allocations: 63.95 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.921e-05/0.328, allocations: 43.84 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3281, allocations: 59.61 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.3285, allocations: 207.1 kB / 1.18 GB, free: 2.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3285, allocations: 0 / 1.18 GB, free: 2.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3285, allocations: 0 / 1.18 GB, free: 2.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3286, allocations: 0 / 1.18 GB, free: 2.031 MB / 0.92 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.0008952/0.3295, allocations: 0.4922 MB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3295, allocations: 8.031 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.3296, allocations: 16.84 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.3299, allocations: 256.9 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.33, allocations: 8.375 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.33, allocations: 4.125 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.3302, allocations: 91.38 kB / 1.181 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3302, allocations: 4 kB / 1.181 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3302, allocations: 0 / 1.181 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3303, allocations: 0 / 1.181 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3304, allocations: 43.91 kB / 1.181 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.3309, allocations: 348.7 kB / 1.181 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3312, allocations: 78.61 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.3312, allocations: 32.84 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3313, allocations: 0 / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3315, allocations: 91.36 kB / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3315, allocations: 0 / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004029/0.3319, allocations: 137.8 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.332, allocations: 85.05 kB / 1.181 GB, free: 156 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.3323, allocations: 262.8 kB / 1.182 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.3323, allocations: 29.7 kB / 1.182 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3325, allocations: 124.1 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3326, allocations: 23.8 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.3326, allocations: 29.7 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3328, allocations: 330.8 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.3329, allocations: 27.98 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.333, allocations: 59.47 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3332, allocations: 77.62 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3332, allocations: 4.031 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002484/0.3334, allocations: 117.5 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3335, allocations: 10.34 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3335, allocations: 0 / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3335, allocations: 0 / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.3336, allocations: 15.94 kB / 1.182 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3336, allocations: 0 / 1.182 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3337, allocations: 15.88 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3337, allocations: 0 / 1.182 GB, free: 14.99 MB / 0.9356 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.0001479/0.3338, allocations: 149.8 kB / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3339, allocations: 15.91 kB / 1.183 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.3339, allocations: 13.41 kB / 1.183 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.3339, allocations: 11.97 kB / 1.183 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3339, allocations: 0 / 1.183 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3339, allocations: 3.938 kB / 1.183 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3342, allocations: 217.7 kB / 1.183 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3342, allocations: 7.938 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.3342, allocations: 0 / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3342, allocations: 8 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3343, allocations: 4 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3343, allocations: 0 / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3343, allocations: 0 / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3345, allocations: 156.9 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.3346, allocations: 92.97 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3347, allocations: 0 / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.3347, allocations: 7.984 kB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.3348, allocations: 8 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3348, allocations: 11.92 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002093/0.335, allocations: 192.4 kB / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.335, allocations: 0 / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000259/0.3353, allocations: 31.94 kB / 1.183 GB, free: 13.98 MB / 0.9356 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.001555/0.3368, allocations: 435.9 kB / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3371, allocations: 79.95 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3371, allocations: 0 / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.3372, allocations: 43.92 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3375, allocations: 37.86 kB / 1.184 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.3381, allocations: 320.4 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3385, allocations: 0.728 MB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.3385, allocations: 19.44 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3385, allocations: 0 / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.005574/0.3441, allocations: 2.552 MB / 1.187 GB, free: 9.898 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.948119723936543]