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.00195/0.00195, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002424/0.002424, allocations: 218.9 kB / 22.25 MB, free: 4.852 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.809 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.316/3.316, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002153/0.002153, allocations: 66.5 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3674, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003236/0.3706, allocations: 1.796 MB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3726, allocations: 1.12 MB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.3727, allocations: 4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.3733, allocations: 163.5 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.3737, allocations: 159.4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.374, allocations: 138 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.3742, allocations: 179.5 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3743, allocations: 13.31 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3745, allocations: 75.69 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3746, allocations: 75.67 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.3746, allocations: 8 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3748, allocations: 71.94 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.3749, allocations: 43.84 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.547e-05/0.375, allocations: 55.61 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.3753, allocations: 211.1 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3753, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3753, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3753, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 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.0007177/0.376, allocations: 430.9 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.376, allocations: 8.031 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.3761, allocations: 20.78 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3764, allocations: 186.2 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3764, allocations: 4.375 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3764, allocations: 8.125 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3766, allocations: 77.66 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3766, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3766, allocations: 4 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3766, allocations: 4 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3767, allocations: 39.92 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3772, allocations: 296.3 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3774, allocations: 74.61 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.3775, allocations: 40.78 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3775, allocations: 7.984 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3777, allocations: 75.5 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3777, allocations: 3.938 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003543/0.378, allocations: 153.5 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3781, allocations: 51.41 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.3785, allocations: 279.8 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3785, allocations: 29.7 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.3786, allocations: 116.1 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.3786, allocations: 27.78 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3787, allocations: 29.7 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3788, allocations: 338.8 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.3789, allocations: 27.98 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.379, allocations: 88.12 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3792, allocations: 69.7 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3792, allocations: 0 / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002235/0.3794, allocations: 121.9 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3794, allocations: 8 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3794, allocations: 8 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3794, allocations: 0 / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.3795, allocations: 15.92 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3795, allocations: 0 / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.3796, allocations: 7.953 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3796, allocations: 4 kB / 1.37 GB, free: 6.664 MB / 1.061 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.0001422/0.3797, allocations: 149.8 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3798, allocations: 11.91 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.38, allocations: 134.9 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.38, allocations: 8 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3801, allocations: 0 / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3801, allocations: 0 / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3803, allocations: 173.1 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3803, allocations: 0 / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.3803, allocations: 8 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.3803, allocations: 3.984 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3803, allocations: 0 / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3803, allocations: 4 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3803, allocations: 4 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3806, allocations: 152.9 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3806, allocations: 15.91 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3806, allocations: 0 / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.3807, allocations: 8 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3807, allocations: 11.86 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3807, allocations: 4 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002151/0.3809, allocations: 204.6 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3809, allocations: 0 / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002429/0.3812, allocations: 35.89 kB / 1.371 GB, free: 5.688 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 (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.001703/0.3829, allocations: 452.4 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3831, allocations: 75.84 kB / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3831, allocations: 0 / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3832, allocations: 35.97 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3835, allocations: 56.69 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.3841, allocations: 314.7 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3842, allocations: 114.6 kB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.758e-05/0.3843, allocations: 25.72 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.3843, allocations: 15.44 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.3843, allocations: 0 / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of Templates: time 0.006202/0.3905, allocations: 2.504 MB / 1.375 GB, free: 2.285 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/jenkins/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: 8.923756401985884]