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.001414/0.001414, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001581/0.001581, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.002915/0.002915, allocations: 291.8 kB / 313.5 MB, free: 2.605 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.403/1.403, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 178] 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.00303/0.00303, allocations: 105.7 kB / 0.7407 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2449, allocations: 95.39 MB / 0.8339 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003347/0.2483, allocations: 1.494 MB / 0.8353 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2493, allocations: 452.5 kB / 0.8357 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.2494, allocations: 0 / 0.8357 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.2494, allocations: 7.922 kB / 0.8358 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.2495, allocations: 11.94 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2497, allocations: 19.92 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2498, allocations: 55.78 kB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2499, allocations: 15.97 kB / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.25, allocations: 15.94 kB / 0.8359 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.647e-05/0.2501, allocations: 19.91 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2501, allocations: 4 kB / 0.8359 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.2501, allocations: 8 kB / 0.8359 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.2501, allocations: 4 kB / 0.8359 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.2502, allocations: 23.86 kB / 0.8359 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.2503, allocations: 51.81 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2503, allocations: 0 / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2503, allocations: 0 / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2503, allocations: 3.938 kB / 0.836 GB, free: 5.637 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.0006295/0.251, allocations: 286.2 kB / 0.8362 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.251, allocations: 13.94 kB / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.2511, allocations: 4.938 kB / 0.8363 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2512, allocations: 114.4 kB / 0.8364 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2512, allocations: 8.375 kB / 0.8364 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2513, allocations: 4.375 kB / 0.8364 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.2514, allocations: 61.98 kB / 0.8364 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2514, allocations: 4 kB / 0.8365 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2514, allocations: 0 / 0.8365 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2514, allocations: 0 / 0.8365 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.2515, allocations: 27.92 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.252, allocations: 232.5 kB / 0.8367 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.2522, allocations: 50.59 kB / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.2522, allocations: 32.88 kB / 0.8368 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2522, allocations: 4 kB / 0.8368 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.2524, allocations: 75.33 kB / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2524, allocations: 0 / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002657/0.2527, allocations: 101.6 kB / 0.837 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.2528, allocations: 51.41 kB / 0.837 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2529, allocations: 113.7 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2529, allocations: 29.7 kB / 0.8371 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.253, allocations: 88.52 kB / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.253, allocations: 23.78 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.2531, allocations: 25.72 kB / 0.8373 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.2533, allocations: 330.8 kB / 0.8376 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.2533, allocations: 19.94 kB / 0.8376 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.2534, allocations: 47.36 kB / 0.8376 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.2535, allocations: 67.36 kB / 0.8377 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2535, allocations: 4 kB / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001561/0.2537, allocations: 97.73 kB / 0.8378 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2537, allocations: 4 kB / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2537, allocations: 0 / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2537, allocations: 4 kB / 0.8378 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.2538, allocations: 11.94 kB / 0.8378 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2538, allocations: 4.031 kB / 0.8378 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.2539, allocations: 11.98 kB / 0.8378 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2539, allocations: 8.062 kB / 0.8379 GB, free: 3.52 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.0001367/0.2541, allocations: 122.4 kB / 0.838 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.2541, allocations: 3.953 kB / 0.838 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.2541, allocations: 8.062 kB / 0.838 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2541, allocations: 4 kB / 0.838 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.2541, allocations: 3.984 kB / 0.838 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2541, allocations: 3.938 kB / 0.838 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.2546, allocations: 306 kB / 0.8383 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2546, allocations: 3.938 kB / 0.8383 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.2546, allocations: 7.984 kB / 0.8383 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2546, allocations: 0 / 0.8383 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2546, allocations: 0 / 0.8383 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2546, allocations: 0 / 0.8383 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2546, allocations: 4 kB / 0.8383 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.2548, allocations: 187.4 kB / 0.8385 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.2549, allocations: 4 kB / 0.8385 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2549, allocations: 0 / 0.8385 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.2549, allocations: 12.19 kB / 0.8385 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.255, allocations: 7.984 kB / 0.8385 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.255, allocations: 11.86 kB / 0.8385 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.2551, allocations: 83.28 kB / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2551, allocations: 0 / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000226/0.2553, allocations: 15.95 kB / 0.8386 GB, free: 2.676 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 0.0001347/0.2554, allocations: 99.25 kB / 0.8387 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2556, allocations: 55.91 kB / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2556, allocations: 3.938 kB / 0.8388 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.2556, allocations: 24.06 kB / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.2559, allocations: 7.984 kB / 0.8388 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.2564, allocations: 175.1 kB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.404e-05/0.2564, allocations: 67.34 kB / 0.839 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2565, allocations: 15.38 kB / 0.839 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2565, allocations: 0 / 0.839 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.002947/0.2594, allocations: 0.8867 MB / 0.8399 GB, free: 1.301 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: 8.971745186019689] Failed to read output from testmodel.py, exit status != 0: 0.2678822139278054 0.283273726 0.029769826000000003 Calling exit ...