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.0009746/0.0009746, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001053/0.001053, allocations: 169 kB / 23.02 MB, free: 1.543 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.9271/0.9271, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.955/1.955, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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 2.094e-06/2.094e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.929e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002778/0.002808, allocations: 1.529 MB / 0.8796 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.003568, allocations: 475.6 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.003611, allocations: 4 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.003651, allocations: 7.922 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.003748, allocations: 11.92 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.003921, allocations: 16.42 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.004024, allocations: 53.16 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.004138, allocations: 11.98 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.004226, allocations: 27.97 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.0043, allocations: 19.91 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.004327, allocations: 4.875 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.004341, allocations: 4 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.004367, allocations: 13.36 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.004413, allocations: 19.92 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.004533, allocations: 35.83 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004535, allocations: 0 / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004537, allocations: 1.469 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004541, allocations: 0 / 0.8803 GB, free: 4.16 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.0005141/0.005055, allocations: 384.5 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.005099, allocations: 13.34 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.005152, allocations: 12.89 kB / 0.8807 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.00526, allocations: 112.6 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.005277, allocations: 7.625 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.005293, allocations: 8.375 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005402, allocations: 54.11 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.00541, allocations: 192 / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005421, allocations: 4.375 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.00543, allocations: 3.938 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.005479, allocations: 19.98 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.005923, allocations: 287.7 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.006028, allocations: 51.08 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.00607, allocations: 31.67 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.006079, allocations: 0 / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.006198, allocations: 73.08 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.0062, allocations: 0 / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002192/0.006419, allocations: 97.56 kB / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.00646, allocations: 51.41 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.006543, allocations: 165.9 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.006559, allocations: 29.7 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.006613, allocations: 142.8 kB / 0.8818 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.006643, allocations: 27.78 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.006689, allocations: 31.38 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.006824, allocations: 0.4884 MB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.006851, allocations: 8 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.439e-05/0.006905, allocations: 54.67 kB / 0.8824 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.006986, allocations: 70.8 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.006988, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.007131, allocations: 101.5 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.007146, allocations: 8 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.007152, allocations: 4.031 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.007165, allocations: 0 / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.007249, allocations: 12 kB / 0.8826 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.007256, allocations: 7.984 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.007301, allocations: 3.953 kB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.007308, allocations: 4 kB / 0.8826 GB, free: 1.594 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 8.771e-05/0.007396, allocations: 165.2 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.007411, allocations: 11.94 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.007438, allocations: 12.12 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.007443, allocations: 7.984 kB / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.007446, allocations: 0 / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.00745, allocations: 0 / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.007777, allocations: 349.2 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007779, allocations: 0 / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.0078, allocations: 4 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.007803, allocations: 0 / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.007811, allocations: 4 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.007815, allocations: 4.062 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007817, allocations: 0 / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.007966, allocations: 231.8 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.007976, allocations: 11.95 kB / 0.8833 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.007987, allocations: 0 / 0.8833 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.00805, allocations: 11.98 kB / 0.8833 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.008095, allocations: 7.984 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.008102, allocations: 0 / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.008145, allocations: 123.2 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008145, allocations: 3.938 kB / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002407/0.008386, allocations: 16 kB / 0.8835 GB, free: 0.5781 MB / 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 8.391e-05/0.00847, allocations: 99.23 kB / 0.8836 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.008598, allocations: 55.61 kB / 0.8836 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008599, allocations: 0 / 0.8836 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.008646, allocations: 28.17 kB / 0.8837 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.008916, allocations: 26.05 kB / 0.8837 GB, free: 364 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.009252, allocations: 154.2 kB / 0.8838 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.009298, allocations: 59.34 kB / 0.8839 GB, free: 100 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.009325, allocations: 4.422 kB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.009361, allocations: 12.5 kB / 0.8839 GB, free: 84 kB / 0.8386 GB Notification: Performance of SimCode: time 1.052e-06/0.009362, allocations: 4.062 kB / 0.8839 GB, free: 80 kB / 0.8386 GB Notification: Performance of Templates: time 0.002995/0.01236, allocations: 0.8812 MB / 0.8848 GB, free: 15.22 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.001992278266698]