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.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") 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.761/1.761, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.001213/0.001213, allocations: 178 kB / 382.3 MB, free: 14.84 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.535/1.535, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0009286/0.0009288, allocations: 93.28 kB / 0.7789 GB, free: 47.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.000468, allocations: 12 kB / 0.9059 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7904, allocations: 119.2 MB / 1.022 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0009781/0.7914, allocations: 400.9 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.7931, allocations: 1.303 MB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.7932, allocations: 1.344 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.7932, allocations: 1.125 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.7933, allocations: 11.08 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.7938, allocations: 134.2 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.7939, allocations: 127.7 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.794, allocations: 7.812 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-05/0.7941, allocations: 56.03 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.7943, allocations: 43.56 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.7943, allocations: 7.969 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.7944, allocations: 21.78 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.7944, allocations: 13.95 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.7945, allocations: 75.42 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.7948, allocations: 120.9 kB / 1.025 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7948, allocations: 0 / 1.025 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7948, allocations: 1.906 kB / 1.025 GB, free: 56.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7948, allocations: 0 / 1.025 GB, free: 56.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005173/0.7953, allocations: 395.8 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7954, allocations: 16.59 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.7954, allocations: 13.56 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.7958, allocations: 216.1 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.7959, allocations: 15.2 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.7959, allocations: 15.77 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.7961, allocations: 83 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7961, allocations: 3.938 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.7961, allocations: 3.328 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7961, allocations: 0.6562 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.494e-05/0.7963, allocations: 41.25 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.7968, allocations: 366.1 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.797, allocations: 90.66 kB / 1.026 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.7971, allocations: 43.8 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.7971, allocations: 1.344 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.7974, allocations: 130.5 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.7974, allocations: 1.031 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0003819/0.7978, allocations: 203.1 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.7979, allocations: 59.05 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.7979, allocations: 109.7 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.798, allocations: 33.31 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.798, allocations: 91.17 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.798, allocations: 30.8 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.7981, allocations: 4 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.7981, allocations: 325 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7982, allocations: 54.42 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.7984, allocations: 89.33 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.7985, allocations: 132.2 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7985, allocations: 0 / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003083/0.7989, allocations: 216 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.7989, allocations: 34.66 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7989, allocations: 2.312 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7989, allocations: 5.375 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.799, allocations: 9.422 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.799, allocations: 6.188 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.7992, allocations: 39.22 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.7993, allocations: 13.33 kB / 1.027 GB, free: 54.77 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.409e-05/0.7994, allocations: 138.1 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.7994, allocations: 10.44 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.7994, allocations: 10.72 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7994, allocations: 1.375 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7994, allocations: 3.938 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7994, allocations: 0.7031 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.7998, allocations: 444.5 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7998, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.7999, allocations: 4.562 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7999, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.7999, allocations: 7.922 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7999, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7999, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.8002, allocations: 261.7 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.8002, allocations: 87.7 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.8002, allocations: 10.62 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.8003, allocations: 11.64 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.8004, allocations: 14.16 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.8004, allocations: 12.5 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.8005, allocations: 91.45 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8005, allocations: 0 / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002647/0.8007, allocations: 34.42 kB / 1.028 GB, free: 53.88 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: 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.0001739/0.8009, allocations: 118.4 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.8012, allocations: 192.8 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8012, allocations: 0 / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8013, allocations: 72.81 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.8016, allocations: 14.94 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.802, allocations: 208.7 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.8021, allocations: 0.6893 MB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.8022, allocations: 16.53 kB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.8022, allocations: 16.16 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.8022, allocations: 0 / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of Templates: time 0.004639/0.8068, allocations: 1.508 MB / 1.031 GB, free: 52.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)