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.001529/0.001529, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001735/0.001735, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9104/0.9104, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[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.383e-06/1.383e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.336e-05, allocations: 2.906 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002927/0.002951, allocations: 1.842 MB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.004602, allocations: 1.138 MB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.466e-05/0.004697, allocations: 4 kB / 0.8823 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008121/0.005509, allocations: 168.8 kB / 0.8825 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.005842, allocations: 164.6 kB / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.006179, allocations: 140.8 kB / 0.8828 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.006411, allocations: 172.6 kB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.006517, allocations: 21.28 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.006659, allocations: 95.67 kB / 0.883 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.006773, allocations: 64.52 kB / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.006794, allocations: 9.312 kB / 0.8831 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.006945, allocations: 71.88 kB / 0.8832 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.007021, allocations: 47.83 kB / 0.8832 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.007074, allocations: 31.88 kB / 0.8833 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.007327, allocations: 163.4 kB / 0.8834 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00733, allocations: 0 / 0.8834 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007331, allocations: 0 / 0.8834 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.007336, allocations: 0 / 0.8834 GB, free: 1.895 MB / 0.8386 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.000564/0.0079, allocations: 0.5245 MB / 0.8839 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.007937, allocations: 8.031 kB / 0.8839 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.007989, allocations: 20.8 kB / 0.8839 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.008209, allocations: 204.9 kB / 0.8841 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.008228, allocations: 4.375 kB / 0.8841 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.00824, allocations: 8.375 kB / 0.8842 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.008358, allocations: 51.45 kB / 0.8842 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.008367, allocations: 3.938 kB / 0.8842 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.008375, allocations: 4 kB / 0.8842 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.008397, allocations: 11.38 kB / 0.8842 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.008433, allocations: 15.92 kB / 0.8842 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.008796, allocations: 304.3 kB / 0.8845 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.008898, allocations: 47.11 kB / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.008926, allocations: 27.61 kB / 0.8846 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.00894, allocations: 4 kB / 0.8846 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.009042, allocations: 65.03 kB / 0.8847 GB, free: 488 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.009044, allocations: 1 kB / 0.8847 GB, free: 488 kB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002013/0.009245, allocations: 109.5 kB / 0.8848 GB, free: 372 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.009274, allocations: 51.97 kB / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.009462, allocations: 282.4 kB / 0.8851 GB, free: 8 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.009491, allocations: 27.14 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.009575, allocations: 174.8 kB / 0.8853 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.009604, allocations: 19.84 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.009648, allocations: 35.36 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.009792, allocations: 0.5091 MB / 0.8858 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.009815, allocations: 8 kB / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.009867, allocations: 68.69 kB / 0.8859 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.009926, allocations: 51.69 kB / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009928, allocations: 0 / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001318/0.01006, allocations: 93.47 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01007, allocations: 6.344 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01008, allocations: 0 / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.01009, allocations: 0 / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.01015, allocations: 15.94 kB / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.01016, allocations: 0 / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.0102, allocations: 15.98 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.01021, allocations: 7.969 kB / 0.8861 GB, free: 14.93 MB / 0.8542 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 9.635e-05/0.01031, allocations: 168.6 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.01033, allocations: 23.84 kB / 0.8863 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.01049, allocations: 99.11 kB / 0.8864 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.0105, allocations: 0 / 0.8864 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.0105, allocations: 0 / 0.8864 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.0105, allocations: 7.938 kB / 0.8864 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.01065, allocations: 141.2 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01065, allocations: 0 / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.01067, allocations: 8 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01067, allocations: 3.938 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.01068, allocations: 4 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01068, allocations: 0 / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01068, allocations: 0 / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.01082, allocations: 136.2 kB / 0.8867 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.01085, allocations: 15.84 kB / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.01087, allocations: 11.92 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.0109, allocations: 4 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.01094, allocations: 7.984 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01094, allocations: 4 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001068/0.01105, allocations: 200.4 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01105, allocations: 0 / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002254/0.01128, allocations: 27.98 kB / 0.8869 GB, free: 14.02 MB / 0.8542 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.0009539/0.01223, allocations: 403.4 kB / 0.8873 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.01234, allocations: 39.67 kB / 0.8873 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01234, allocations: 0 / 0.8873 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.01238, allocations: 35.59 kB / 0.8874 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01262, allocations: 45 kB / 0.8874 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.01302, allocations: 270.6 kB / 0.8877 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.588e-05/0.01306, allocations: 75.83 kB / 0.8877 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.905e-05/0.01311, allocations: 25.47 kB / 0.8878 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.0132, allocations: 98.17 kB / 0.8879 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.0132, allocations: 0 / 0.8879 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.005297/0.0185, allocations: 2.704 MB / 0.8905 GB, free: 10.45 MB / 0.8542 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 -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.291286799125373]