Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008033/0.0008033, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008172/0.0008172, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8994/0.8994, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.639/1.639, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.173e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002066/0.002088, allocations: 1.777 MB / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.003541, allocations: 1.115 MB / 0.9546 GB, free: 92 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.00362, allocations: 7.938 kB / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.004138, allocations: 163.6 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.004389, allocations: 163.3 kB / 0.9549 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.004611, allocations: 143.4 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.004782, allocations: 175.5 kB / 0.9552 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.004881, allocations: 17.25 kB / 0.9552 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.00498, allocations: 95.72 kB / 0.9553 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.00507, allocations: 71.8 kB / 0.9554 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.005088, allocations: 12 kB / 0.9554 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.005192, allocations: 63.94 kB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.005252, allocations: 47.84 kB / 0.9555 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.005296, allocations: 35.84 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005517, allocations: 211.3 kB / 0.9557 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005519, allocations: 0 / 0.9557 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00552, allocations: 0 / 0.9557 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005524, allocations: 0 / 0.9557 GB, free: 14.9 MB / 0.9167 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.000502/0.006026, allocations: 434.8 kB / 0.9561 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.006059, allocations: 8.031 kB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.0061, allocations: 20.8 kB / 0.9562 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.006305, allocations: 193.4 kB / 0.9563 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.006317, allocations: 4.375 kB / 0.9563 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006329, allocations: 4.375 kB / 0.9563 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.006454, allocations: 78.16 kB / 0.9564 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.006462, allocations: 7.938 kB / 0.9564 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.006471, allocations: 0 / 0.9564 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006479, allocations: 0 / 0.9564 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.00654, allocations: 31.98 kB / 0.9565 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.006891, allocations: 296.4 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.007017, allocations: 78.61 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.007056, allocations: 28.84 kB / 0.9568 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.007069, allocations: 4 kB / 0.9568 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.007187, allocations: 83.31 kB / 0.9569 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.007188, allocations: 0 / 0.9569 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002253/0.007414, allocations: 153.6 kB / 0.9571 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.007442, allocations: 59.28 kB / 0.9571 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.007619, allocations: 275.2 kB / 0.9574 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.007632, allocations: 29.69 kB / 0.9574 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.007695, allocations: 128.1 kB / 0.9575 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.007719, allocations: 27.78 kB / 0.9576 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.007752, allocations: 29.7 kB / 0.9576 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.007829, allocations: 326.8 kB / 0.9579 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.007869, allocations: 27.98 kB / 0.9579 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.007933, allocations: 88.25 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.008009, allocations: 73.58 kB / 0.9581 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.008012, allocations: 4 kB / 0.9581 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001174/0.00813, allocations: 117.5 kB / 0.9582 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.008144, allocations: 10.5 kB / 0.9582 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.00815, allocations: 0 / 0.9582 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.008161, allocations: 0 / 0.9582 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.008213, allocations: 11.98 kB / 0.9582 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.008218, allocations: 4 kB / 0.9582 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.008252, allocations: 15.89 kB / 0.9582 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.008257, allocations: 0 / 0.9582 GB, free: 12.1 MB / 0.9167 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 8.661e-05/0.008344, allocations: 151.7 kB / 0.9584 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.008359, allocations: 23.92 kB / 0.9584 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.008516, allocations: 131.4 kB / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.008522, allocations: 4 kB / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.008526, allocations: 0 / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008529, allocations: 0 / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.008646, allocations: 173.1 kB / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008648, allocations: 0 / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.008663, allocations: 4 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008665, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.008675, allocations: 7.984 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008676, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008677, allocations: 4 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.008804, allocations: 160.9 kB / 0.9589 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.008822, allocations: 15.91 kB / 0.9589 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.008839, allocations: 0 / 0.9589 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.008861, allocations: 4 kB / 0.9589 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.008894, allocations: 7.984 kB / 0.9589 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.008902, allocations: 4 kB / 0.9589 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001174/0.009019, allocations: 208.6 kB / 0.9591 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009019, allocations: 0 / 0.9591 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001558/0.009175, allocations: 27.94 kB / 0.9591 GB, free: 11.12 MB / 0.9167 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.0007079/0.009883, allocations: 457.5 kB / 0.9596 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01003, allocations: 79.89 kB / 0.9596 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01003, allocations: 0 / 0.9596 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.01007, allocations: 31.98 kB / 0.9597 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.01026, allocations: 40.58 kB / 0.9597 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.01066, allocations: 359.5 kB / 0.9601 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.01073, allocations: 118.8 kB / 0.9602 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.01076, allocations: 24.5 kB / 0.9602 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.01077, allocations: 0 / 0.9602 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of Templates: time 0.00328/0.01405, allocations: 2.683 MB / 0.9628 GB, free: 7.496 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.044740698300302]