Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 196.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 0.6354 GB, free: 9.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 90.52 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 52.11 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 114.6 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002806/0.3201, allocations: 1.538 MB / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.3208, allocations: 483.8 kB / 0.9842 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.3208, allocations: 0 / 0.9842 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.3209, allocations: 3.938 kB / 0.9842 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.321, allocations: 3.938 kB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.3212, allocations: 19.98 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/0.3212, allocations: 47.91 kB / 0.9843 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.3213, allocations: 15.98 kB / 0.9843 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.3214, allocations: 23.86 kB / 0.9843 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.3215, allocations: 23.86 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.3215, allocations: 4 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.3215, allocations: 4 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.3215, allocations: 7.922 kB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.3216, allocations: 23.92 kB / 0.9844 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.3217, allocations: 36.16 kB / 0.9844 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3217, allocations: 7.938 kB / 0.9844 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3217, allocations: 0 / 0.9844 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.3217, allocations: 0 / 0.9844 GB, free: 8.16 MB / 0.7136 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.000532/0.3223, allocations: 363.4 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3223, allocations: 8.031 kB / 0.9848 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3224, allocations: 8.844 kB / 0.9848 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3225, allocations: 172.3 kB / 0.9849 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3225, allocations: 4.375 kB / 0.9849 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3225, allocations: 8.312 kB / 0.9849 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3227, allocations: 58 kB / 0.985 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3227, allocations: 4 kB / 0.985 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3227, allocations: 3.984 kB / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3227, allocations: 4 kB / 0.985 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.3228, allocations: 27.98 kB / 0.985 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.3233, allocations: 296.7 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3234, allocations: 58.56 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.3235, allocations: 32.92 kB / 0.9854 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3235, allocations: 0 / 0.9854 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.3237, allocations: 71.42 kB / 0.9855 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3237, allocations: 0 / 0.9855 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002092/0.3239, allocations: 105.5 kB / 0.9856 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.324, allocations: 55.41 kB / 0.9856 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.324, allocations: 105.8 kB / 0.9857 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3241, allocations: 33.7 kB / 0.9858 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.3241, allocations: 92.03 kB / 0.9858 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3241, allocations: 19.73 kB / 0.9859 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3242, allocations: 25.72 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.3242, allocations: 326.8 kB / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.3243, allocations: 12 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.3243, allocations: 51.36 kB / 0.9863 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.3244, allocations: 67.36 kB / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3244, allocations: 0 / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001226/0.3246, allocations: 101.5 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3246, allocations: 4 kB / 0.9864 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3246, allocations: 0 / 0.9864 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3246, allocations: 8.031 kB / 0.9864 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.3247, allocations: 8 kB / 0.9864 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3247, allocations: 0 / 0.9864 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.3248, allocations: 11.98 kB / 0.9864 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3248, allocations: 4 kB / 0.9865 GB, free: 5.805 MB / 0.7136 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 8.436e-05/0.3249, allocations: 125.7 kB / 0.9866 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.3249, allocations: 7.906 kB / 0.9866 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.3249, allocations: 7.969 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3249, allocations: 3.984 kB / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3249, allocations: 4 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3249, allocations: 4 kB / 0.9866 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.3254, allocations: 354.8 kB / 0.9869 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3254, allocations: 4 kB / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.3254, allocations: 8 kB / 0.9869 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3254, allocations: 0 / 0.9869 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3254, allocations: 0 / 0.9869 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3255, allocations: 3.938 kB / 0.987 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.3255, allocations: 12.45 kB / 0.987 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3259, allocations: 0.7433 MB / 0.9877 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.3259, allocations: 89.03 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3259, allocations: 4 kB / 0.9878 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.326, allocations: 4 kB / 0.9878 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3261, allocations: 11.98 kB / 0.9878 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3261, allocations: 4 kB / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3261, allocations: 87.27 kB / 0.9879 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3261, allocations: 0 / 0.9879 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003153/0.3265, allocations: 15.91 kB / 0.9879 GB, free: 4.18 MB / 0.7136 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.776e-05/0.3266, allocations: 105.2 kB / 0.988 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.3267, allocations: 51.92 kB / 0.988 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3267, allocations: 3.938 kB / 0.988 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.3268, allocations: 28.05 kB / 0.9881 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.327, allocations: 19.92 kB / 0.9881 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.3275, allocations: 274.1 kB / 0.9884 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3278, allocations: 0.6926 MB / 0.989 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.3278, allocations: 11.92 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3279, allocations: 11.44 kB / 0.9891 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.3279, allocations: 0 / 0.9891 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of Templates: time 0.002736/0.3306, allocations: 0.7177 MB / 0.9898 GB, free: 2.207 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)