Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001594/0.001594, allocations: 78.73 kB / 19.01 MB, free: 2.859 MB / 14.72 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.001434/0.001434, allocations: 162.7 kB / 22.26 MB, free: 5.105 MB / 14.72 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 1.407/1.407, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002549/0.002549, allocations: 230.1 kB / 259.2 MB, free: 0.5898 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.062/1.062, allocations: 138.5 MB / 454.2 MB, free: 2.043 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 104.3 kB / 0.6466 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3765, allocations: 95.34 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002707/0.3792, allocations: 1.507 MB / 0.7412 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.38, allocations: 438.9 kB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.38, allocations: 0 / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.3801, allocations: 4 kB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.3802, allocations: 19.86 kB / 0.7416 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.3803, allocations: 23.97 kB / 0.7416 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.387e-05/0.3804, allocations: 55.78 kB / 0.7417 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.3805, allocations: 4 kB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.3806, allocations: 31.97 kB / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.3806, allocations: 19.86 kB / 0.7417 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3806, allocations: 4 kB / 0.7417 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.3806, allocations: 4 kB / 0.7417 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3807, allocations: 15.97 kB / 0.7418 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3807, allocations: 15.92 kB / 0.7418 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3808, allocations: 52.89 kB / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3808, allocations: 0 / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3808, allocations: 0 / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3808, allocations: 0 / 0.7418 GB, free: 13.02 MB / 0.5762 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.0005127/0.3813, allocations: 290.2 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3814, allocations: 9.344 kB / 0.7421 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3814, allocations: 4.938 kB / 0.7421 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3815, allocations: 110.5 kB / 0.7422 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3815, allocations: 12.36 kB / 0.7422 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3815, allocations: 4.375 kB / 0.7422 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3817, allocations: 65.88 kB / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3817, allocations: 0 / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3817, allocations: 0 / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3817, allocations: 4 kB / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.488e-05/0.3818, allocations: 23.98 kB / 0.7423 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3822, allocations: 244.3 kB / 0.7426 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3823, allocations: 50.56 kB / 0.7426 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.3824, allocations: 28.94 kB / 0.7426 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.3824, allocations: 7.984 kB / 0.7426 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3826, allocations: 75.38 kB / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3826, allocations: 0 / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002419/0.3828, allocations: 97.61 kB / 0.7428 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3829, allocations: 55.41 kB / 0.7429 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.3829, allocations: 109.8 kB / 0.743 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.383, allocations: 29.7 kB / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.383, allocations: 84.14 kB / 0.7431 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3831, allocations: 19.84 kB / 0.7431 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.3831, allocations: 37.64 kB / 0.7431 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3833, allocations: 326.8 kB / 0.7434 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.3833, allocations: 16 kB / 0.7435 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.3834, allocations: 47.36 kB / 0.7435 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.3835, allocations: 67.36 kB / 0.7436 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3835, allocations: 4 kB / 0.7436 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000157/0.3837, allocations: 89.58 kB / 0.7437 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3837, allocations: 11.94 kB / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3837, allocations: 4.359 kB / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3837, allocations: 4 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.3838, allocations: 8 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3838, allocations: 4.031 kB / 0.7437 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.3838, allocations: 15.92 kB / 0.7437 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3838, allocations: 4 kB / 0.7437 GB, free: 10.9 MB / 0.5762 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 0.0001054/0.3839, allocations: 127.2 kB / 0.7438 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.384, allocations: 7.953 kB / 0.7438 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.384, allocations: 8.125 kB / 0.7438 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.384, allocations: 0 / 0.7438 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.384, allocations: 0 / 0.7438 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.384, allocations: 4 kB / 0.7438 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.3844, allocations: 302.4 kB / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3844, allocations: 0 / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3844, allocations: 4 kB / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3844, allocations: 0 / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.3845, allocations: 0 / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3845, allocations: 0 / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3845, allocations: 3.984 kB / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.3846, allocations: 191.4 kB / 0.7443 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.3847, allocations: 0 / 0.7443 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3847, allocations: 7.984 kB / 0.7443 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3848, allocations: 11.94 kB / 0.7443 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.3848, allocations: 7.984 kB / 0.7443 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3848, allocations: 7.938 kB / 0.7444 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.3849, allocations: 87.27 kB / 0.7444 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3849, allocations: 0 / 0.7444 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002443/0.3851, allocations: 15.95 kB / 0.7445 GB, free: 10.07 MB / 0.5762 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 9.251e-05/0.3852, allocations: 106.3 kB / 0.7446 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.3854, allocations: 44.11 kB / 0.7446 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3854, allocations: 4 kB / 0.7446 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.3854, allocations: 31.98 kB / 0.7446 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3857, allocations: 11.98 kB / 0.7446 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.386, allocations: 145.3 kB / 0.7448 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.889e-05/0.3861, allocations: 75.27 kB / 0.7449 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.3861, allocations: 4 kB / 0.7449 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.3861, allocations: 12.5 kB / 0.7449 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.3861, allocations: 0 / 0.7449 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.00338/0.3895, allocations: 0.8249 MB / 0.7457 GB, free: 8.793 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.696742748841643] Failed to read output from testmodel.py, exit status != 0: 0.39775499887764454 0.412501475 0.028591467000000002 Calling exit ...