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.001656/0.001656, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002042/0.002042, allocations: 211 kB / 22.99 MB, free: 4.957 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.3/3.3, allocations: 0.49 GB / 0.7959 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.002065/0.002065, allocations: 69.69 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003272/0.3767, allocations: 1.772 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3788, allocations: 1.123 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.3788, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.3794, allocations: 171.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.3798, allocations: 155.4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.3802, allocations: 147.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.3804, allocations: 171.6 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3805, allocations: 21.28 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3806, allocations: 67.72 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3808, allocations: 83.66 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3808, allocations: 8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.381, allocations: 75.88 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.381, allocations: 47.78 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.3811, allocations: 43.73 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.3814, allocations: 211.1 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3814, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3814, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3814, allocations: 0 / 1.331 GB, free: 12.86 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.0007228/0.3822, allocations: 430.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3822, allocations: 12.03 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.3822, allocations: 20.8 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3826, allocations: 182.9 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3827, allocations: 384 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3827, allocations: 16.12 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3829, allocations: 81.58 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3829, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3829, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3829, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.383, allocations: 39.97 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.3835, allocations: 292.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3837, allocations: 70.67 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.3838, allocations: 32.84 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3838, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.384, allocations: 91.31 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.384, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003626/0.3844, allocations: 145.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3844, allocations: 59.34 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.3848, allocations: 271.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3848, allocations: 33.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3849, allocations: 120.4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.385, allocations: 27.78 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.385, allocations: 25.72 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3852, allocations: 338.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.3853, allocations: 35.98 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3854, allocations: 76.27 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3855, allocations: 85.67 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3855, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002291/0.3858, allocations: 121.5 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3858, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3858, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3858, allocations: 4 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.3859, allocations: 12.06 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3859, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.3859, allocations: 7.984 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3859, allocations: 4.156 kB / 1.334 GB, free: 10.06 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.0001361/0.3861, allocations: 146.3 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3861, allocations: 19.86 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.3864, allocations: 139 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.3864, allocations: 7.984 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3864, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3864, allocations: 4 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3866, allocations: 165.1 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3866, allocations: 0 / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.3867, allocations: 4 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.3867, allocations: 7.938 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3867, allocations: 4 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3867, allocations: 0 / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3867, allocations: 96 / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3869, allocations: 168.8 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.387, allocations: 11.91 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.387, allocations: 12 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.3871, allocations: 3.984 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3871, allocations: 7.984 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3871, allocations: 4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003144/0.3874, allocations: 200.6 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3874, allocations: 0 / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002581/0.3877, allocations: 39.91 kB / 1.335 GB, free: 9.066 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.001765/0.3895, allocations: 445.9 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.3897, allocations: 91.75 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3897, allocations: 0 / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.3898, allocations: 35.98 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3901, allocations: 39.14 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.3907, allocations: 318.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.3908, allocations: 114.6 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.778e-05/0.3909, allocations: 25.72 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.3909, allocations: 23.44 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3909, allocations: 0 / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of Templates: time 0.006602/0.3975, allocations: 2.516 MB / 1.338 GB, free: 5.648 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 -s cvode -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.55529381299857]