Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001371/0.001371, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001635/0.001635, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.59/1.59, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 61.75 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3053, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003081/0.3084, allocations: 1.536 MB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.3091, allocations: 442.8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3092, allocations: 4 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.3092, allocations: 3.984 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.3093, allocations: 11.92 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.3095, allocations: 15.98 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.074e-05/0.3096, allocations: 43.86 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3097, allocations: 15.98 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.3098, allocations: 19.92 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.3098, allocations: 23.84 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3098, allocations: 8 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.3099, allocations: 8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3099, allocations: 11.98 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3099, allocations: 23.86 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.09e-05/0.31, allocations: 43.89 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.31, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.31, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3101, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 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.0005425/0.3106, allocations: 359.6 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3107, allocations: 16.03 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3107, allocations: 4.844 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3108, allocations: 176.2 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3109, allocations: 4.375 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.3109, allocations: 12.36 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.311, allocations: 54 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.311, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.311, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.311, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.3111, allocations: 27.92 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.3116, allocations: 304.7 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3117, allocations: 58.59 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.3118, allocations: 28.94 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.3118, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.312, allocations: 71.39 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.312, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002378/0.3122, allocations: 97.61 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.3123, allocations: 55.41 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.3124, allocations: 109.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3124, allocations: 33.64 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3125, allocations: 84.08 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3125, allocations: 36 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.3126, allocations: 25.72 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3127, allocations: 326.8 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.3127, allocations: 12 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.3128, allocations: 55.3 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.3129, allocations: 67.36 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3129, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.3131, allocations: 85.86 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3131, allocations: 7.984 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3131, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3131, allocations: 8.031 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.3132, allocations: 16 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.3132, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.3133, allocations: 15.92 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3133, allocations: 8 kB / 1.072 GB, free: 6.203 MB / 0.8262 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.671e-05/0.3134, allocations: 117.8 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.3134, allocations: 4 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.3135, allocations: 7.969 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3135, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3135, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3135, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.3139, allocations: 362.3 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3139, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.3139, allocations: 7.938 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3139, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3139, allocations: 4 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3139, allocations: 7.938 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.314, allocations: 3.938 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.3141, allocations: 183.5 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3142, allocations: 84.95 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3142, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.3143, allocations: 11.92 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3143, allocations: 8.172 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3143, allocations: 8 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.3144, allocations: 83.22 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3144, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002303/0.3146, allocations: 16 kB / 1.073 GB, free: 5.199 MB / 0.8262 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.84e-05/0.3147, allocations: 100.4 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3149, allocations: 59.84 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3149, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.3149, allocations: 27.98 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3152, allocations: 13.53 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.3155, allocations: 176.5 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3158, allocations: 0.6846 MB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3158, allocations: 7.984 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.3158, allocations: 11.44 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3158, allocations: 0 / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.002566/0.3184, allocations: 0.7136 MB / 1.075 GB, free: 3.363 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)