Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.869/4.869, allocations: 0.5623 GB / 0.5769 GB, free: 3.352 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.002396/0.002395, allocations: 355.7 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.366/4.366, allocations: 410.7 MB / 1.112 GB, free: 5.82 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.001787/0.001786, allocations: 184.5 kB / 1.225 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004979, allocations: 12 kB / 1.348 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5844/0.585, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.0008331/0.5858, allocations: 0.5223 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.5874, allocations: 1.289 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.5875, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.5875, allocations: 3.938 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.5876, allocations: 20.58 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.5883, allocations: 253 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.5886, allocations: 313.2 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.5887, allocations: 30.86 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.5889, allocations: 123.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.589, allocations: 128.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.5891, allocations: 20 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.5892, allocations: 38.33 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.5892, allocations: 51.86 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.5894, allocations: 82.66 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.5896, allocations: 237.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.843e-06/0.5896, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5896, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.94e-06/0.5897, allocations: 0.5625 kB / 1.464 GB, free: 281.2 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000808/0.5905, allocations: 0.5373 MB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.5905, allocations: 12.38 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.5906, allocations: 27.81 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/0.5914, allocations: 311.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.5915, allocations: 20.22 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.5916, allocations: 47.81 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.5921, allocations: 258.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5921, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.5922, allocations: 11.98 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-06/0.5922, allocations: 7.938 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.5925, allocations: 120.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.5935, allocations: 0.6098 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.5942, allocations: 427.1 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.5945, allocations: 176.8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.5946, allocations: 0.75 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006305/0.5952, allocations: 357.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 2.949e-06/0.5952, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.001348/0.5966, allocations: 0.6649 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.5966, allocations: 63.94 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.5968, allocations: 147.5 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.5968, allocations: 53.69 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.5969, allocations: 109 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.597, allocations: 99.52 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.5971, allocations: 12 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.5971, allocations: 339.8 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.5975, allocations: 137.1 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.5979, allocations: 301.3 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.5983, allocations: 212.5 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.5984, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001092/0.5995, allocations: 0.5651 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.5995, allocations: 73.91 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5995, allocations: 7.984 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.5996, allocations: 8 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.5998, allocations: 43.86 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.5998, allocations: 15.89 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.6004, allocations: 115.3 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.6004, allocations: 33.64 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.000221/0.6007, allocations: 177.8 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.6007, allocations: 32.2 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.6008, allocations: 23.06 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-06/0.6008, allocations: 4 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.467e-06/0.6008, allocations: 5.25 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.926e-06/0.6009, allocations: 7.938 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.6026, allocations: 0.9943 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6026, allocations: 1.75 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.6027, allocations: 27.88 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.6027, allocations: 4.828 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.6028, allocations: 23.91 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.846e-06/0.6028, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-06/0.6028, allocations: 0.9375 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.6037, allocations: 0.6182 MB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.6038, allocations: 100.8 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.6039, allocations: 23.94 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.6041, allocations: 37.45 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.6042, allocations: 41.36 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.6043, allocations: 35.97 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.6044, allocations: 107.2 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.2e-07/0.6044, allocations: 0 / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005631/0.605, allocations: 96.7 kB / 1.472 GB, free: 272.6 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: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002118/0.6052, allocations: 149.3 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009509/0.6062, allocations: 0.5375 MB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6062, allocations: 5.938 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.6066, allocations: 300 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.6071, allocations: 47.33 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.608, allocations: 486.5 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.6081, allocations: 0.7366 MB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.6083, allocations: 33.62 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.6084, allocations: 31.42 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.632e-06/0.6084, allocations: 0 / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.008852/0.6173, allocations: 3.731 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB