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.001028/0.001028, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001039/0.001039, allocations: 173 kB / 23.36 MB, free: 1.133 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.9929/0.9929, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.547/2.547, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.527e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003307/0.003332, allocations: 1.882 MB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.004913, allocations: 1.167 MB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.00503, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.005616, allocations: 167.4 kB / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.005928, allocations: 159.3 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.006272, allocations: 139.5 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.006521, allocations: 175.5 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.006613, allocations: 17.94 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.006742, allocations: 99.67 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.006847, allocations: 67.84 kB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.006867, allocations: 8 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.007048, allocations: 75.88 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.007123, allocations: 43.86 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.007175, allocations: 35.86 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.007463, allocations: 159.4 kB / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007467, allocations: 0 / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.007469, allocations: 0 / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.007475, allocations: 0 / 0.8427 GB, free: 9.996 MB / 0.8073 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.0005076/0.007983, allocations: 401.5 kB / 0.8431 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.008016, allocations: 8.625 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.008057, allocations: 12.92 kB / 0.8431 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.00827, allocations: 190.1 kB / 0.8433 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.008288, allocations: 8.359 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.008298, allocations: 4.375 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.008413, allocations: 53.06 kB / 0.8433 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008422, allocations: 3.938 kB / 0.8433 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.00843, allocations: 3.984 kB / 0.8433 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.00845, allocations: 4 kB / 0.8434 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.00848, allocations: 15.92 kB / 0.8434 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.008785, allocations: 209.8 kB / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.008894, allocations: 97.28 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.008923, allocations: 16.8 kB / 0.8437 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.008939, allocations: 3.938 kB / 0.8437 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.009046, allocations: 62.2 kB / 0.8437 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.434e-06/0.009048, allocations: 0 / 0.8437 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002962/0.009345, allocations: 81.59 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.009372, allocations: 55.41 kB / 0.8439 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.009519, allocations: 220.8 kB / 0.8441 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.009537, allocations: 29.69 kB / 0.8441 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.009583, allocations: 96.61 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.009608, allocations: 23.84 kB / 0.8442 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.009647, allocations: 29.69 kB / 0.8443 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.009739, allocations: 330.8 kB / 0.8446 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.009761, allocations: 10.83 kB / 0.8446 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.009802, allocations: 60.25 kB / 0.8446 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.009859, allocations: 51.59 kB / 0.8447 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.009862, allocations: 0 / 0.8447 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.83e-05/0.00996, allocations: 76.45 kB / 0.8448 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.009974, allocations: 4.062 kB / 0.8448 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.009981, allocations: 4.078 kB / 0.8448 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.009996, allocations: 4 kB / 0.8448 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.01006, allocations: 11.98 kB / 0.8448 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01007, allocations: 3.984 kB / 0.8448 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.01011, allocations: 15.89 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01012, allocations: 4 kB / 0.8448 GB, free: 7.637 MB / 0.8073 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.195e-05/0.0102, allocations: 124.6 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.01022, allocations: 16.03 kB / 0.8449 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.01033, allocations: 87.11 kB / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.01034, allocations: 0 / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01034, allocations: 0 / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01034, allocations: 0 / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.01046, allocations: 109.8 kB / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01046, allocations: 0 / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.01048, allocations: 7.984 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01049, allocations: 0 / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.01049, allocations: 3.938 kB / 0.8451 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01049, allocations: 3.938 kB / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0105, allocations: 4 kB / 0.8451 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.499e-05/0.01059, allocations: 106.8 kB / 0.8452 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.01061, allocations: 19.83 kB / 0.8453 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.01063, allocations: 3.938 kB / 0.8453 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.01066, allocations: 4 kB / 0.8453 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.01069, allocations: 7.984 kB / 0.8453 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01069, allocations: 4 kB / 0.8453 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.01076, allocations: 80.94 kB / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01076, allocations: 0 / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001692/0.01093, allocations: 31.94 kB / 0.8454 GB, free: 6.98 MB / 0.8073 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.001245/0.01217, allocations: 0.511 MB / 0.8459 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.0123, allocations: 40.83 kB / 0.8459 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.01231, allocations: 0 / 0.8459 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.01235, allocations: 28.78 kB / 0.846 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.01253, allocations: 45.25 kB / 0.846 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.01294, allocations: 273.6 kB / 0.8463 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01299, allocations: 75.83 kB / 0.8463 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.017e-05/0.01304, allocations: 25.84 kB / 0.8464 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.01312, allocations: 71.36 kB / 0.8464 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.01312, allocations: 0 / 0.8464 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.005407/0.01852, allocations: 2.648 MB / 0.849 GB, free: 3.488 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5158982570283115]