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.001759/0.001759, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002115/0.002115, allocations: 217.8 kB / 23 MB, free: 4.969 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.568/3.568, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.002014/0.002014, allocations: 67.19 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4074, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003729/0.4112, allocations: 1.788 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.4133, allocations: 1.119 MB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4134, allocations: 7.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.4141, allocations: 163.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.4145, allocations: 159.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.4149, allocations: 141.2 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.4152, allocations: 175.5 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4153, allocations: 17.3 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.4154, allocations: 71.7 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.4156, allocations: 83.66 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.4156, allocations: 12 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.4157, allocations: 75.88 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.4158, allocations: 43.84 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.4159, allocations: 39.73 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.4162, allocations: 223 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4162, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4162, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4162, allocations: 0 / 1.331 GB, free: 12.88 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.0008426/0.4171, allocations: 434.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4171, allocations: 8.031 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.4172, allocations: 20.8 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.4175, allocations: 179 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4175, allocations: 4.312 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.4175, allocations: 12.11 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.4177, allocations: 77.61 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4177, allocations: 3.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4177, allocations: 3.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4178, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4179, allocations: 43.97 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.4184, allocations: 292.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4186, allocations: 74.67 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.4187, allocations: 32.84 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4187, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.4189, allocations: 91.25 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.4189, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003713/0.4192, allocations: 149.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.4193, allocations: 59.41 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.4196, allocations: 275.1 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4196, allocations: 29.7 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.4197, allocations: 116.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.4198, allocations: 31.77 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.4198, allocations: 21.72 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.42, allocations: 342.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.42, allocations: 27.98 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.4202, allocations: 76.27 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4203, allocations: 81.66 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4203, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002289/0.4205, allocations: 125.5 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4206, allocations: 4.375 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4206, allocations: 4.109 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4206, allocations: 3.938 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.4207, allocations: 8 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4207, allocations: 3.938 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.4207, allocations: 7.984 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4208, allocations: 8.031 kB / 1.334 GB, free: 10.08 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.0001577/0.4209, allocations: 150.2 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4209, allocations: 19.86 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.4212, allocations: 131 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4213, allocations: 0 / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4213, allocations: 0 / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.4213, allocations: 19.84 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.4213, allocations: 3.938 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.4214, allocations: 15.97 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4214, allocations: 4 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003083/0.4217, allocations: 196.8 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003422/0.4221, allocations: 298.7 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.348e-05/0.4222, allocations: 39.97 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002316/0.4224, allocations: 204.5 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of Backend: time 6.31e-07/0.4224, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.4247, allocations: 492.5 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of SimCode: time 0.001013/0.4257, allocations: 0.7569 MB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of Templates: time 0.00693/0.4326, allocations: 2.627 MB / 1.338 GB, free: 5.281 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: 9.82591384799889]