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.001311/0.001311, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001449/0.001449, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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 3.209/3.209, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 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.002097/0.002097, allocations: 68.86 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3719, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003717/0.3756, allocations: 1.828 MB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3777, allocations: 1.193 MB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.3778, allocations: 7.938 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.3785, allocations: 171.5 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.3789, allocations: 155.4 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.3793, allocations: 143.6 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3796, allocations: 175.5 kB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3797, allocations: 13.31 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3798, allocations: 71.69 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3799, allocations: 83.66 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.38, allocations: 8 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3801, allocations: 75.94 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.3802, allocations: 43.84 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.3803, allocations: 63.55 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3806, allocations: 203.1 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3806, allocations: 4 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of FrontEnd: time 6.292e-06/0.3807, allocations: 4 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3807, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.045 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.0008421/0.3815, allocations: 434.8 kB / 1.359 GB, free: 3.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3815, allocations: 8.031 kB / 1.359 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.3816, allocations: 20.8 kB / 1.359 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3819, allocations: 190.1 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3819, allocations: 4.375 kB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3819, allocations: 16.11 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3821, allocations: 87.33 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3822, allocations: 0 / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3822, allocations: 3.984 kB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3822, allocations: 4 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.3823, allocations: 35.92 kB / 1.359 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.3829, allocations: 327.8 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3831, allocations: 74.61 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.3831, allocations: 28.84 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3831, allocations: 4 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.3833, allocations: 79.33 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3833, allocations: 4 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0003692/0.3837, allocations: 149.4 kB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.3838, allocations: 77.11 kB / 1.36 GB, free: 2.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.3841, allocations: 275.8 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3841, allocations: 29.7 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.3842, allocations: 120.1 kB / 1.36 GB, free: 1.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.3842, allocations: 31.77 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3843, allocations: 29.66 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3844, allocations: 342.8 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.3845, allocations: 27.98 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.3846, allocations: 55.42 kB / 1.361 GB, free: 1.086 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3847, allocations: 69.7 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3847, allocations: 0 / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002302/0.385, allocations: 121.5 kB / 1.361 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.385, allocations: 13.81 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.385, allocations: 0 / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.385, allocations: 0 / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.3851, allocations: 11.98 kB / 1.361 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3851, allocations: 4 kB / 1.361 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3852, allocations: 12.27 kB / 1.361 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.3852, allocations: 112 / 1.361 GB, free: 0.8477 MB / 1.045 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.0001465/0.3853, allocations: 154.4 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3853, allocations: 15.91 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.3856, allocations: 134.9 kB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3856, allocations: 0 / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3856, allocations: 0 / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3856, allocations: 7.938 kB / 1.361 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3858, allocations: 192.7 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3858, allocations: 0 / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.3859, allocations: 7.984 kB / 1.361 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3859, allocations: 4 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3859, allocations: 4 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3859, allocations: 240 / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3859, allocations: 0 / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3861, allocations: 148.8 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.3862, allocations: 19.89 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3862, allocations: 0 / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.3863, allocations: 8 kB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.3863, allocations: 7.984 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3863, allocations: 7.938 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002272/0.3865, allocations: 204.6 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3865, allocations: 0 / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002544/0.3868, allocations: 31.94 kB / 1.362 GB, free: 15.84 MB / 1.061 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 (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.00162/0.3884, allocations: 443.3 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3887, allocations: 67.97 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3887, allocations: 0 / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.3888, allocations: 35.92 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3891, allocations: 33.86 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.3897, allocations: 348.4 kB / 1.363 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3901, allocations: 0.728 MB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.3901, allocations: 19.44 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3901, allocations: 0 / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of Templates: time 0.005109/0.3952, allocations: 2.627 MB / 1.366 GB, free: 11.66 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 11.746522089990322]