Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.298/5.298, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002409/0.002409, allocations: 359.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.153/4.153, allocations: 410.7 MB / 1.112 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001768, allocations: 171.3 kB / 1.225 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004964, allocations: 16 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.6336, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0007276/0.6344, allocations: 402.9 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.6357, allocations: 1.122 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.6357, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.6358, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.6358, allocations: 4.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.6363, allocations: 129 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.6365, allocations: 108.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.6366, allocations: 17.53 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.6366, allocations: 43.91 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.6367, allocations: 51.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.6368, allocations: 13.5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.717e-05/0.6369, allocations: 23.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.6369, allocations: 11.98 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.637, allocations: 45.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.6371, allocations: 90.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.285e-06/0.6371, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.281e-06/0.6371, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.135e-06/0.6371, allocations: 1.875 kB / 1.463 GB, free: 282.3 MB / 0.8542 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.0004892/0.6376, allocations: 392.9 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.6377, allocations: 12.69 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.6378, allocations: 11.91 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.6382, allocations: 225.1 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.6382, allocations: 4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.6383, allocations: 15.98 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6385, allocations: 82.36 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.143e-06/0.6385, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6385, allocations: 5.812 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-06/0.6385, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.6386, allocations: 42.97 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.6392, allocations: 360.6 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.6394, allocations: 95.73 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.6395, allocations: 41.89 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.6396, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.6398, allocations: 125.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.524e-06/0.6399, allocations: 1.438 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004418/0.6403, allocations: 205.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.6404, allocations: 55.36 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.6405, allocations: 114.4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.6405, allocations: 34.44 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.6406, allocations: 90.8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.6406, allocations: 39.78 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.6406, allocations: 3.938 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.6407, allocations: 318.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.6408, allocations: 47.97 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.641, allocations: 84.77 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.6411, allocations: 75.72 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-06/0.6412, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004212/0.6416, allocations: 216.5 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.6416, allocations: 37.69 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.333e-06/0.6417, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6417, allocations: 4.875 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.6418, allocations: 19.89 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.753e-06/0.6418, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.6421, allocations: 54.64 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.6421, allocations: 10.16 kB / 1.465 GB, free: 279.3 MB / 0.8542 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6422, allocations: 125.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.6423, allocations: 14.14 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.6423, allocations: 9.062 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.6423, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.25e-06/0.6423, allocations: 4.828 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-06/0.6423, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.6428, allocations: 428.3 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-06/0.6428, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.6429, allocations: 11.94 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.177e-06/0.6429, allocations: 4.766 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.6429, allocations: 4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.359e-06/0.6429, allocations: 5.578 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.885e-06/0.643, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.6433, allocations: 260.1 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.6433, allocations: 85.02 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.6433, allocations: 10.19 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.6435, allocations: 7.984 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.6436, allocations: 19.94 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.6436, allocations: 7.984 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.6436, allocations: 83.97 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.19e-07/0.6436, allocations: 3.938 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003706/0.644, allocations: 37.64 kB / 1.467 GB, free: 278.1 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000152/0.6442, allocations: 111.2 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.6445, allocations: 188.3 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.539e-06/0.6446, allocations: 0.5312 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.6447, allocations: 75.91 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.6451, allocations: 15.94 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.6455, allocations: 204.6 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.6456, allocations: 0.7005 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.717e-05/0.6457, allocations: 6.406 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.6458, allocations: 11.44 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.492e-06/0.6458, allocations: 0.9688 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004757/0.6505, allocations: 1.463 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB