Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.77/1.77, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.00129/0.00129, allocations: 186 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.472/1.472, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0009581/0.0009583, allocations: 93.81 kB / 0.7789 GB, free: 47.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 12 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.81, allocations: 119.2 MB / 1.022 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001206/0.8113, allocations: 466.8 kB / 1.023 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.8133, allocations: 1.493 MB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.8134, allocations: 1.969 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.8134, allocations: 4.734 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.8135, allocations: 14.91 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.8142, allocations: 224.4 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.8146, allocations: 232.5 kB / 1.025 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.8147, allocations: 20.34 kB / 1.025 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.8149, allocations: 89.72 kB / 1.025 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.815, allocations: 84.12 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.8151, allocations: 12.59 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.8152, allocations: 25.58 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.8153, allocations: 24.66 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.8154, allocations: 113.2 kB / 1.025 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.8158, allocations: 205 kB / 1.025 GB, free: 56.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8159, allocations: 0 / 1.025 GB, free: 56.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.506e-06/0.8159, allocations: 1.719 kB / 1.025 GB, free: 56.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8159, allocations: 0 / 1.025 GB, free: 56.74 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007486/0.8166, allocations: 466.3 kB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8167, allocations: 9.094 kB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.8168, allocations: 20.39 kB / 1.026 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.8174, allocations: 263 kB / 1.026 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.8175, allocations: 14.52 kB / 1.026 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.8175, allocations: 18.77 kB / 1.026 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.8178, allocations: 134 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8179, allocations: 4.906 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.8179, allocations: 7.844 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.8179, allocations: 3 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.8181, allocations: 59.78 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.8189, allocations: 0.5245 MB / 1.027 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.8191, allocations: 158.5 kB / 1.027 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.463e-05/0.8192, allocations: 71.5 kB / 1.027 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.8193, allocations: 2.281 kB / 1.027 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.8196, allocations: 210.5 kB / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.8196, allocations: 1.125 kB / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0005539/0.8202, allocations: 303.2 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.8203, allocations: 99.28 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.8204, allocations: 130.9 kB / 1.028 GB, free: 55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.8204, allocations: 44.3 kB / 1.028 GB, free: 54.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.8205, allocations: 97.48 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.8206, allocations: 55.41 kB / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.8206, allocations: 13.94 kB / 1.028 GB, free: 54.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.8207, allocations: 321.4 kB / 1.028 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.8209, allocations: 85.17 kB / 1.028 GB, free: 54.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.8211, allocations: 152.4 kB / 1.028 GB, free: 54.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.8214, allocations: 244.5 kB / 1.029 GB, free: 54.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8214, allocations: 0 / 1.029 GB, free: 54.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005428/0.8219, allocations: 363.3 kB / 1.029 GB, free: 53.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.822, allocations: 67.62 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.822, allocations: 0 / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.8221, allocations: 7.609 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.8222, allocations: 20.23 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.8222, allocations: 9.391 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.8225, allocations: 86.91 kB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.8226, allocations: 26.05 kB / 1.029 GB, free: 53.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001361/0.8227, allocations: 143.9 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.8228, allocations: 16.66 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.8228, allocations: 16.97 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8228, allocations: 0 / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.8228, allocations: 8.609 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8228, allocations: 0 / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.8234, allocations: 0.6206 MB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8234, allocations: 1.25 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.8235, allocations: 8.672 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8235, allocations: 3.938 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.8235, allocations: 16.39 kB / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.8235, allocations: 2.281 kB / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8235, allocations: 0 / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.8239, allocations: 417.2 kB / 1.03 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.824, allocations: 89.36 kB / 1.03 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.824, allocations: 15.52 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8242, allocations: 14.66 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.8243, allocations: 23.2 kB / 1.03 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.8243, allocations: 13.11 kB / 1.03 GB, free: 52.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.8244, allocations: 99.17 kB / 1.031 GB, free: 52.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8244, allocations: 1.375 kB / 1.031 GB, free: 52.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003455/0.8247, allocations: 53.84 kB / 1.031 GB, free: 52.76 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002175/0.8249, allocations: 125.8 kB / 1.031 GB, free: 52.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.8254, allocations: 342.8 kB / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8254, allocations: 448 / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.8256, allocations: 119.4 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.826, allocations: 30.92 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.8265, allocations: 305.5 kB / 1.032 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.8267, allocations: 0.7072 MB / 1.032 GB, free: 51.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.016e-05/0.8268, allocations: 17.52 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.8268, allocations: 20.17 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8268, allocations: 0 / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of Templates: time 0.005864/0.8327, allocations: 2.468 MB / 1.035 GB, free: 51.3 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)