Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0009315/0.0009315, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009074/0.0009074, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9286/0.9286, allocations: 177.1 MB / 204.2 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.725/1.725, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.316e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003186/0.003219, allocations: 1.544 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.004165, allocations: 469 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.004213, allocations: 4 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.004255, allocations: 4.906 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.004356, allocations: 3.938 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.004549, allocations: 28.48 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.004658, allocations: 47.86 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.00478, allocations: 12.95 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.004879, allocations: 39.89 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.004955, allocations: 7.984 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.004985, allocations: 4.625 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.004998, allocations: 5.531 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.00503, allocations: 19.92 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.005079, allocations: 11.98 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.005226, allocations: 39.83 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.005231, allocations: 1.312 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/0.005232, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.005238, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 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.0007323/0.00597, allocations: 383.5 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.006019, allocations: 12.03 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.006079, allocations: 8.891 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.006202, allocations: 116.6 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006219, allocations: 4.375 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.006233, allocations: 4.375 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.006351, allocations: 50.19 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.00636, allocations: 192 / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.006376, allocations: 13.64 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.006386, allocations: 3.938 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.006445, allocations: 15.98 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.006931, allocations: 288.8 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.007051, allocations: 55.05 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.007095, allocations: 28.11 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.007105, allocations: 5.594 kB / 0.7902 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.007255, allocations: 85.06 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.007257, allocations: 0 / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002504/0.007508, allocations: 89.61 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.00756, allocations: 56.03 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.007656, allocations: 169.9 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.007675, allocations: 26.39 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.007735, allocations: 135.6 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.007768, allocations: 19.84 kB / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.00782, allocations: 36.17 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.007965, allocations: 496.1 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.008, allocations: 13.36 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.00806, allocations: 50.73 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.329e-05/0.008153, allocations: 70.67 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.008156, allocations: 1.812 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000157/0.008313, allocations: 93.45 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.008339, allocations: 4 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.008346, allocations: 4 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.008362, allocations: 1.812 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.008466, allocations: 15.98 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.008474, allocations: 0 / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.008527, allocations: 8 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.008536, allocations: 4 kB / 0.7915 GB, free: 7.754 MB / 0.7448 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 9.644e-05/0.008633, allocations: 173.2 kB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.008653, allocations: 14.23 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.008684, allocations: 12.12 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008687, allocations: 0 / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.008691, allocations: 0 / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.008696, allocations: 3.938 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.009076, allocations: 337.6 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.009078, allocations: 2 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.00911, allocations: 7.984 kB / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.009113, allocations: 0 / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.009125, allocations: 8.062 kB / 0.792 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.009129, allocations: 4 kB / 0.792 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.009132, allocations: 3.984 kB / 0.792 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.009318, allocations: 232.2 kB / 0.7923 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.009329, allocations: 9.797 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.009349, allocations: 4 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.009421, allocations: 4 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.009468, allocations: 7.922 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.009475, allocations: 4 kB / 0.7923 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.009525, allocations: 133.5 kB / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009525, allocations: 0 / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002661/0.009791, allocations: 12 kB / 0.7924 GB, free: 6.742 MB / 0.7448 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 0.0001053/0.009896, allocations: 99.25 kB / 0.7925 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.01004, allocations: 52.75 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01004, allocations: 0 / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.0101, allocations: 35.61 kB / 0.7926 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01041, allocations: 8.531 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.01076, allocations: 153.8 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.0108, allocations: 59.34 kB / 0.7928 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.151e-05/0.01083, allocations: 4.844 kB / 0.7928 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.01087, allocations: 12.5 kB / 0.7928 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.01087, allocations: 0.8438 kB / 0.7928 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.003479/0.01435, allocations: 0.8807 MB / 0.7937 GB, free: 5.418 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.863652394153178]