Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.0009795/0.0009795, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.0009823/0.0009823, allocations: 165 kB / 24.05 MB, free: 464 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.9462/0.9462, allocations: 177.1 MB / 204.5 MB, free: 5.5 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 1.968/1.968, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8793 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.471e-05, allocations: 4.984 kB / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001929/0.001943, allocations: 1.541 MB / 0.8808 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006096/0.002553, allocations: 465.4 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.002599, allocations: 4.531 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.002628, allocations: 4.5 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.002715, allocations: 8.531 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.002882, allocations: 23.95 kB / 0.8813 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.002953, allocations: 44.52 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.003037, allocations: 19.86 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.003101, allocations: 41.48 kB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.003151, allocations: 7.984 kB / 0.8814 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003169, allocations: 4 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.003178, allocations: 4 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.003198, allocations: 17.73 kB / 0.8815 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.003227, allocations: 15.98 kB / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.003307, allocations: 31.89 kB / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003309, allocations: 0 / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00331, allocations: 0 / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.003313, allocations: 2.75 kB / 0.8815 GB, free: 3.852 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003311/0.003644, allocations: 384.5 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.003675, allocations: 12.03 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.003702, allocations: 8.891 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.003772, allocations: 116.5 kB / 0.882 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.003782, allocations: 4.375 kB / 0.882 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.003789, allocations: 5.094 kB / 0.882 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.003853, allocations: 46.25 kB / 0.8821 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.003858, allocations: 1.531 kB / 0.8821 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003866, allocations: 4.359 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.003871, allocations: 7.938 kB / 0.8821 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.0039, allocations: 19.91 kB / 0.8821 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.004172, allocations: 272.3 kB / 0.8824 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.004237, allocations: 55 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.004259, allocations: 23.77 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.004265, allocations: 0 / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.601e-05/0.004341, allocations: 72.97 kB / 0.8825 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.004342, allocations: 0 / 0.8825 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001472/0.004489, allocations: 89.56 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.004521, allocations: 51.41 kB / 0.8826 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.004585, allocations: 173.9 kB / 0.8828 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.004596, allocations: 25.7 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.004637, allocations: 138.8 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.004659, allocations: 23.84 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.004692, allocations: 39.28 kB / 0.883 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.004797, allocations: 492.1 kB / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.004812, allocations: 15.98 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.004844, allocations: 46.72 kB / 0.8835 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.004897, allocations: 62.69 kB / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.004898, allocations: 0 / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.915e-05/0.004978, allocations: 85.55 kB / 0.8837 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.004989, allocations: 8 kB / 0.8837 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004993, allocations: 0 / 0.8837 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-06/0.005, allocations: 0 / 0.8837 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.005053, allocations: 19.92 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.005056, allocations: 4 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.005089, allocations: 11.95 kB / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.005093, allocations: 0 / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * 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 6.929e-05/0.005162, allocations: 166.8 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.005173, allocations: 15.97 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.005194, allocations: 12.39 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.005196, allocations: 3.938 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.005199, allocations: 0 / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.005203, allocations: 3.984 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.00543, allocations: 333.8 kB / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005431, allocations: 0 / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.005444, allocations: 4 kB / 0.8842 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005446, allocations: 0 / 0.8842 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.00545, allocations: 0 / 0.8842 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005452, allocations: 0 / 0.8842 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005453, allocations: 4 kB / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.005554, allocations: 227.8 kB / 0.8845 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.005564, allocations: 8.016 kB / 0.8845 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.005573, allocations: 4 kB / 0.8845 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.005608, allocations: 11.98 kB / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.005635, allocations: 3.984 kB / 0.8845 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.00564, allocations: 4 kB / 0.8845 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.005674, allocations: 127.2 kB / 0.8846 GB, free: 388 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005674, allocations: 0 / 0.8846 GB, free: 388 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001467/0.005821, allocations: 12 kB / 0.8846 GB, free: 376 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.129e-05/0.005882, allocations: 103.2 kB / 0.8847 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.058e-05/0.005963, allocations: 48.11 kB / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.005965, allocations: 4 kB / 0.8848 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.005994, allocations: 23.67 kB / 0.8848 GB, free: 176 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.006166, allocations: 16.11 kB / 0.8848 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.006407, allocations: 158.1 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.006445, allocations: 67.28 kB / 0.885 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.006467, allocations: 4.062 kB / 0.885 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.006523, allocations: 82.19 kB / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.006523, allocations: 0 / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.003001/0.009524, allocations: 0.9249 MB / 0.886 GB, free: 14.9 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.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.115996257402003]