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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004715/0.004715, allocations: 97.69 kB / 15.73 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 195 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 294.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 95.86 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3889, allocations: 86.98 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002701/0.3917, allocations: 1.469 MB / 0.7678 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.3924, allocations: 444.8 kB / 0.7682 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.3925, allocations: 0 / 0.7682 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.3925, allocations: 3.938 kB / 0.7682 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.3926, allocations: 11.92 kB / 0.7682 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3928, allocations: 23.92 kB / 0.7683 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.3929, allocations: 55.77 kB / 0.7683 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.393, allocations: 12 kB / 0.7683 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.3931, allocations: 19.92 kB / 0.7684 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.3932, allocations: 15.92 kB / 0.7684 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3932, allocations: 4 kB / 0.7684 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.3932, allocations: 8 kB / 0.7684 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.3932, allocations: 11.98 kB / 0.7684 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3933, allocations: 31.86 kB / 0.7684 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3934, allocations: 47.67 kB / 0.7685 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3934, allocations: 0 / 0.7685 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3934, allocations: 0 / 0.7685 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3934, allocations: 0 / 0.7685 GB, free: 1.75 MB / 0.5294 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.0004557/0.3939, allocations: 365.1 kB / 0.7688 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3939, allocations: 12.03 kB / 0.7688 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.394, allocations: 4.891 kB / 0.7688 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3941, allocations: 172.3 kB / 0.769 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3941, allocations: 8.375 kB / 0.769 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3941, allocations: 8.375 kB / 0.769 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3942, allocations: 57.94 kB / 0.7691 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3943, allocations: 7.922 kB / 0.7691 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3943, allocations: 3.984 kB / 0.7691 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3943, allocations: 4 kB / 0.7691 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.3943, allocations: 23.98 kB / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.3948, allocations: 300.8 kB / 0.7694 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3949, allocations: 58.59 kB / 0.7694 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.395, allocations: 28.94 kB / 0.7695 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.395, allocations: 0 / 0.7695 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3951, allocations: 71.38 kB / 0.7695 GB, free: 500 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3951, allocations: 4 kB / 0.7695 GB, free: 496 kB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0001995/0.3954, allocations: 101.6 kB / 0.7696 GB, free: 388 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3954, allocations: 59.34 kB / 0.7697 GB, free: 316 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.3955, allocations: 101.8 kB / 0.7698 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3955, allocations: 33.7 kB / 0.7698 GB, free: 164 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3955, allocations: 84.09 kB / 0.7699 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3956, allocations: 23.84 kB / 0.7699 GB, free: 52 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.3956, allocations: 25.72 kB / 0.77 GB, free: 20 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3957, allocations: 330.8 kB / 0.7703 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.3958, allocations: 12 kB / 0.7703 GB, free: 15.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.3958, allocations: 43.38 kB / 0.7703 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/0.3959, allocations: 67.36 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3959, allocations: 384 / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001283/0.396, allocations: 101.5 kB / 0.7705 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3961, allocations: 4 kB / 0.7705 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3961, allocations: 0 / 0.7705 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3961, allocations: 7.938 kB / 0.7705 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.3962, allocations: 11.94 kB / 0.7705 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3962, allocations: 0 / 0.7705 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.3962, allocations: 19.88 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.3963, allocations: 4 kB / 0.7705 GB, free: 15.39 MB / 0.545 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 7.806e-05/0.3963, allocations: 120.9 kB / 0.7706 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.3964, allocations: 11.98 kB / 0.7707 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.3964, allocations: 7.969 kB / 0.7707 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3964, allocations: 3.984 kB / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3964, allocations: 4 kB / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3964, allocations: 0 / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3968, allocations: 362.3 kB / 0.771 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3968, allocations: 64 / 0.771 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.3968, allocations: 8 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3968, allocations: 4 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3968, allocations: 4 kB / 0.771 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3969, allocations: 3.938 kB / 0.771 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3969, allocations: 4 kB / 0.771 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.397, allocations: 175.5 kB / 0.7712 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.3971, allocations: 81.06 kB / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3971, allocations: 7.984 kB / 0.7713 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.3972, allocations: 7.938 kB / 0.7713 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.3972, allocations: 11.98 kB / 0.7713 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3972, allocations: 8 kB / 0.7713 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.3973, allocations: 79.28 kB / 0.7714 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3973, allocations: 0 / 0.7714 GB, free: 14.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002393/0.3975, allocations: 19.94 kB / 0.7714 GB, free: 14.39 MB / 0.545 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.194e-05/0.3976, allocations: 99.23 kB / 0.7715 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.3977, allocations: 59.98 kB / 0.7716 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3978, allocations: 4.062 kB / 0.7716 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.3978, allocations: 23.98 kB / 0.7716 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3981, allocations: 12 kB / 0.7716 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.3984, allocations: 141.5 kB / 0.7717 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.3986, allocations: 0.6884 MB / 0.7724 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.3986, allocations: 7.984 kB / 0.7724 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.3987, allocations: 11.44 kB / 0.7724 GB, free: 13.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.3987, allocations: 4 kB / 0.7724 GB, free: 13.28 MB / 0.545 GB Notification: Performance of Templates: time 0.003041/0.4017, allocations: 0.7872 MB / 0.7732 GB, free: 12.5 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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)