Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001068, allocations: 177.3 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.7 MB / 0.6617 GB, free: 7.195 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007533/0.0007536, allocations: 93.97 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 8 kB / 0.9059 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5727, allocations: 119.2 MB / 1.022 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001939/0.5747, allocations: 1.45 MB / 1.024 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.5761, allocations: 1.085 MB / 1.025 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.5762, allocations: 3.031 kB / 1.025 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.5764, allocations: 16.39 kB / 1.025 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.5764, allocations: 29.83 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.5774, allocations: 361.3 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.5779, allocations: 389.5 kB / 1.026 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.5781, allocations: 63.67 kB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.5783, allocations: 138 kB / 1.026 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.5785, allocations: 129.7 kB / 1.026 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.5785, allocations: 19.94 kB / 1.026 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.5787, allocations: 37.58 kB / 1.026 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.5787, allocations: 44.12 kB / 1.026 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.5789, allocations: 175.6 kB / 1.026 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.5792, allocations: 370.8 kB / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5792, allocations: 1.25 kB / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5792, allocations: 0 / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5793, allocations: 0 / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006009/0.5799, allocations: 0.559 MB / 1.027 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5799, allocations: 9.438 kB / 1.027 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.58, allocations: 34.11 kB / 1.027 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.5807, allocations: 309.1 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.5807, allocations: 24.28 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.5808, allocations: 35.44 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.5811, allocations: 181.6 kB / 1.028 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5811, allocations: 6.625 kB / 1.028 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.5812, allocations: 8.25 kB / 1.028 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5812, allocations: 6.031 kB / 1.028 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.5814, allocations: 111.2 kB / 1.028 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.5822, allocations: 0.5937 MB / 1.028 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.5825, allocations: 198.6 kB / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.5826, allocations: 85.2 kB / 1.029 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.5826, allocations: 2.656 kB / 1.029 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.583, allocations: 259.5 kB / 1.029 GB, free: 54.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.583, allocations: 4.5 kB / 1.029 GB, free: 54.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.0006755/0.5837, allocations: 408.2 kB / 1.029 GB, free: 54.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.5838, allocations: 62.23 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.584, allocations: 189.5 kB / 1.029 GB, free: 54.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.584, allocations: 52.25 kB / 1.029 GB, free: 54.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5841, allocations: 138.4 kB / 1.03 GB, free: 53.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.5842, allocations: 83.73 kB / 1.03 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.5842, allocations: 18.44 kB / 1.03 GB, free: 53.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.5843, allocations: 338.9 kB / 1.03 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.5846, allocations: 149.4 kB / 1.03 GB, free: 53.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.5849, allocations: 269.3 kB / 1.03 GB, free: 53.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.5854, allocations: 418.5 kB / 1.031 GB, free: 53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5854, allocations: 2.406 kB / 1.031 GB, free: 53 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008264/0.5862, allocations: 0.5867 MB / 1.031 GB, free: 52.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.5863, allocations: 95.05 kB / 1.032 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.5863, allocations: 7.938 kB / 1.032 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5863, allocations: 4.75 kB / 1.032 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5865, allocations: 43.42 kB / 1.032 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.5865, allocations: 6.844 kB / 1.032 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.587, allocations: 130.7 kB / 1.032 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.5871, allocations: 34.55 kB / 1.032 GB, free: 52.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001642/0.5873, allocations: 183.7 kB / 1.032 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.5874, allocations: 27.47 kB / 1.032 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.5874, allocations: 21.98 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5874, allocations: 4.141 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5874, allocations: 3.938 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5874, allocations: 4.547 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.5883, allocations: 0.7081 MB / 1.033 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5883, allocations: 0 / 1.033 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.5883, allocations: 18.02 kB / 1.033 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5883, allocations: 2.219 kB / 1.033 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.5884, allocations: 13.22 kB / 1.033 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5884, allocations: 2.438 kB / 1.033 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5884, allocations: 0 / 1.033 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.5888, allocations: 431.5 kB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.5889, allocations: 90.31 kB / 1.033 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.5889, allocations: 17.91 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.589, allocations: 6.344 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.5891, allocations: 24.28 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.5891, allocations: 22.64 kB / 1.033 GB, free: 51.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.5892, allocations: 128 kB / 1.033 GB, free: 51.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5892, allocations: 96 / 1.033 GB, free: 51.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005795/0.5898, allocations: 109.8 kB / 1.033 GB, free: 51.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001885/0.59, allocations: 133 kB / 1.034 GB, free: 51.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009687/0.591, allocations: 0.5297 MB / 1.034 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.591, allocations: 0 / 1.034 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.5913, allocations: 144 kB / 1.034 GB, free: 50.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.5919, allocations: 40.33 kB / 1.034 GB, free: 50.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.5925, allocations: 476.2 kB / 1.035 GB, free: 50.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.5927, allocations: 0.749 MB / 1.035 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.5928, allocations: 35.92 kB / 1.036 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.5929, allocations: 24.17 kB / 1.036 GB, free: 49.95 MB / 0.698 GB Notification: Performance of SimCode: time 4.2e-07/0.5929, allocations: 0 / 1.036 GB, free: 49.95 MB / 0.698 GB Notification: Performance of Templates: time 0.006914/0.5998, allocations: 3.582 MB / 1.039 GB, free: 49.67 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)