Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00175/0.00175, allocations: 189.9 kB / 16.25 MB, free: 6.641 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.526/1.526, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.16 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4194, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002332/0.4218, allocations: 0.7263 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4235, allocations: 1.162 MB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.4235, allocations: 0 / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.4236, allocations: 3.938 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.4237, allocations: 11.88 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.4243, allocations: 123.3 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.4245, allocations: 147.8 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4246, allocations: 11.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.4248, allocations: 59.83 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.4249, allocations: 51.88 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.425, allocations: 16 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.425, allocations: 27.98 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.4251, allocations: 23.91 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.4252, allocations: 47.84 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4254, allocations: 132 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4254, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4254, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4254, allocations: 0 / 1.07 GB, free: 8.215 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007304/0.4262, allocations: 425 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4262, allocations: 8.031 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.4263, allocations: 12.84 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.4267, allocations: 212.4 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.4267, allocations: 4.375 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.4268, allocations: 12.38 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.427, allocations: 82.19 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.427, allocations: 7.922 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.427, allocations: 7.984 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.427, allocations: 4 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.4271, allocations: 43.91 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.4278, allocations: 352.5 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.428, allocations: 94.48 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.428, allocations: 48.84 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4281, allocations: 3.984 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.4283, allocations: 131.5 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4284, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004133/0.4288, allocations: 197.5 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.4288, allocations: 59.41 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4289, allocations: 117.8 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.429, allocations: 29.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.429, allocations: 88.12 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.4291, allocations: 31.7 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.4292, allocations: 49.62 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4293, allocations: 322.8 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.4294, allocations: 51.83 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4296, allocations: 92.25 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.4298, allocations: 131.9 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4298, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003529/0.4301, allocations: 215.1 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.4302, allocations: 37.7 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4302, allocations: 3.984 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4302, allocations: 4 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.4303, allocations: 8 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.4303, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4305, allocations: 43.97 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4306, allocations: 15.98 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000129/0.4307, allocations: 125.7 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.4307, allocations: 15.91 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.4308, allocations: 12.48 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4308, allocations: 3.938 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4308, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4308, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.4314, allocations: 434.4 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4314, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.4314, allocations: 4 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4314, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4314, allocations: 3.984 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4314, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4314, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.4318, allocations: 274.8 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.4318, allocations: 88.94 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4319, allocations: 4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.432, allocations: 11.98 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.432, allocations: 7.984 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4321, allocations: 19.92 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.4322, allocations: 79.28 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4322, allocations: 0 / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002896/0.4325, allocations: 35.98 kB / 1.074 GB, free: 3.848 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002321/0.4327, allocations: 117.9 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.4331, allocations: 199.2 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4331, allocations: 0 / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4332, allocations: 67.97 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4335, allocations: 19.92 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.434, allocations: 214.7 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.4343, allocations: 0.6885 MB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.081e-05/0.4344, allocations: 12.55 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.4344, allocations: 19.44 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.4344, allocations: 0 / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.00467/0.4391, allocations: 1.595 MB / 1.077 GB, free: 0.8672 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)