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.001018/0.001018, allocations: 80.88 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.001066/0.001066, allocations: 181 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.9779/0.9779, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.552/2.552, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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.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.332e-06/1.332e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.841e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002004/0.002023, allocations: 1.568 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006961/0.002719, allocations: 470.7 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.002757, allocations: 3.938 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.002785, allocations: 7.922 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.002865, allocations: 7.938 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.002991, allocations: 23.84 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.003062, allocations: 51.84 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.003137, allocations: 19.97 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.003195, allocations: 27.91 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.003255, allocations: 23.91 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.003277, allocations: 8 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.003286, allocations: 4 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.003301, allocations: 4 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.003329, allocations: 19.97 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.912e-05/0.003408, allocations: 31.89 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.00341, allocations: 0 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00341, allocations: 0 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003414, allocations: 0 / 0.8408 GB, free: 11.89 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002676/0.003681, allocations: 264.8 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.003709, allocations: 8.625 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.003733, allocations: 8.938 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.003803, allocations: 117.7 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003812, allocations: 4.375 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.003826, allocations: 8.375 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.047e-05/0.003886, allocations: 42.23 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003892, allocations: 4.188 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.003899, allocations: 4.375 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003904, allocations: 7.875 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.00393, allocations: 15.92 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.004142, allocations: 184.2 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.004206, allocations: 38.59 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.004225, allocations: 12.86 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.004231, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.807e-05/0.004319, allocations: 71.3 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.00432, allocations: 0 / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001079/0.004428, allocations: 73.55 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.004462, allocations: 55.41 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.16e-05/0.004514, allocations: 110.7 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.004526, allocations: 25.7 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.004555, allocations: 96.09 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.004574, allocations: 19.83 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.004606, allocations: 33.7 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.004674, allocations: 314.8 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.004689, allocations: 15.94 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.004715, allocations: 39.41 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.00476, allocations: 51.34 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004762, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.482e-05/0.004837, allocations: 81.8 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.004849, allocations: 12.03 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.004854, allocations: 0 / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004867, allocations: 0 / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.004921, allocations: 19.94 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.004924, allocations: 0 / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.004955, allocations: 7.984 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.004961, allocations: 8 kB / 0.8425 GB, free: 9.992 MB / 0.8073 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.051e-05/0.005022, allocations: 118.3 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.005033, allocations: 11.94 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.005053, allocations: 8.125 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.005056, allocations: 7.984 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.005058, allocations: 0 / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.005062, allocations: 4 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.005244, allocations: 214.7 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.005248, allocations: 7.938 kB / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.005263, allocations: 7.938 kB / 0.8428 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005265, allocations: 0 / 0.8428 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.005272, allocations: 4 kB / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005273, allocations: 0 / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005274, allocations: 0 / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.975e-05/0.005354, allocations: 151.5 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.005362, allocations: 11.94 kB / 0.843 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.005375, allocations: 8.047 kB / 0.843 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.00541, allocations: 8 kB / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.005438, allocations: 11.92 kB / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005442, allocations: 0 / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.118e-05/0.005453, allocations: 8.859 kB / 0.843 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005453, allocations: 0 / 0.843 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001321/0.005585, allocations: 16 kB / 0.843 GB, free: 9.355 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: 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 7.809e-05/0.005663, allocations: 79.28 kB / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.336e-05/0.005746, allocations: 48.78 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.005749, allocations: 0 / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.005781, allocations: 32.77 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.005925, allocations: 15.44 kB / 0.8432 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.006158, allocations: 156.4 kB / 0.8434 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.00619, allocations: 59.34 kB / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.006211, allocations: 7.984 kB / 0.8434 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.006258, allocations: 59.38 kB / 0.8435 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.006259, allocations: 4.062 kB / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of Templates: time 0.002282/0.00854, allocations: 0.8416 MB / 0.8443 GB, free: 8.02 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.271396130789071]