Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") 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.64/1.64, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001118/0.001118, allocations: 185.2 kB / 382.3 MB, free: 14.8 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.363/1.363, allocations: 225.7 MB / 0.6617 GB, free: 7.172 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.0008248/0.0008248, allocations: 93.62 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003427, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.587, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00396/0.591, allocations: 3.682 MB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002863/0.5939, allocations: 1.504 MB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.5945, allocations: 33.91 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.5948, allocations: 122.5 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005962/0.5954, allocations: 186.9 kB / 1.028 GB, free: 54.44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.5967, allocations: 0.6163 MB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.5977, allocations: 1.137 MB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/0.5984, allocations: 483.5 kB / 1.03 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.5989, allocations: 347 kB / 1.03 GB, free: 53.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.5993, allocations: 358.8 kB / 1.03 GB, free: 52.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.5994, allocations: 26.47 kB / 1.031 GB, free: 52.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.5995, allocations: 26.06 kB / 1.031 GB, free: 52.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.5997, allocations: 146.3 kB / 1.031 GB, free: 52.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.6, allocations: 407.4 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009125/0.601, allocations: 1.02 MB / 1.032 GB, free: 52.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.601, allocations: 0 / 1.032 GB, free: 52.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.601, allocations: 0 / 1.032 GB, free: 52.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.601, allocations: 0 / 1.032 GB, free: 52.2 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001931/0.6029, allocations: 1.237 MB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.603, allocations: 13.94 kB / 1.033 GB, free: 51.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.6032, allocations: 125.7 kB / 1.033 GB, free: 51.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6042, allocations: 0.7241 MB / 1.034 GB, free: 50.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.6043, allocations: 80.19 kB / 1.034 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.6044, allocations: 74.03 kB / 1.034 GB, free: 50.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.6055, allocations: 0.738 MB / 1.035 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.6055, allocations: 2.875 kB / 1.035 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.6056, allocations: 30.62 kB / 1.035 GB, free: 50.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.6056, allocations: 13.91 kB / 1.035 GB, free: 50.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009657/0.6066, allocations: 0.5302 MB / 1.036 GB, free: 50.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.6094, allocations: 2.291 MB / 1.038 GB, free: 48.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.6106, allocations: 0.6359 MB / 1.038 GB, free: 48.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.6111, allocations: 278.5 kB / 1.039 GB, free: 48.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.6111, allocations: 8.062 kB / 1.039 GB, free: 48.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/0.6118, allocations: 330.9 kB / 1.039 GB, free: 48.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.335e-06/0.6118, allocations: 0 / 1.039 GB, free: 48.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001477/0.6133, allocations: 0.7668 MB / 1.04 GB, free: 48.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.6133, allocations: 88.08 kB / 1.04 GB, free: 47.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.6142, allocations: 0.7514 MB / 1.041 GB, free: 47.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6142, allocations: 33.7 kB / 1.041 GB, free: 47.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.6145, allocations: 443.6 kB / 1.041 GB, free: 47.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.6146, allocations: 205.1 kB / 1.041 GB, free: 47.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.6146, allocations: 14.38 kB / 1.041 GB, free: 47.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.6147, allocations: 327.5 kB / 1.042 GB, free: 46.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.6151, allocations: 207.5 kB / 1.042 GB, free: 46.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.6156, allocations: 311.4 kB / 1.042 GB, free: 46.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.6164, allocations: 0.5161 MB / 1.043 GB, free: 46.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6164, allocations: 0 / 1.043 GB, free: 46.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001111/0.6176, allocations: 0.6622 MB / 1.043 GB, free: 45.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.6176, allocations: 167.5 kB / 1.043 GB, free: 45.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6177, allocations: 8.406 kB / 1.043 GB, free: 45.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6177, allocations: 6.719 kB / 1.043 GB, free: 45.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.6183, allocations: 144 kB / 1.043 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.6183, allocations: 6.031 kB / 1.043 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.6187, allocations: 84.42 kB / 1.044 GB, free: 45.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.6188, allocations: 21.11 kB / 1.044 GB, free: 45.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.6188, allocations: 6.5 kB / 1.044 GB, free: 45.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009108/0.6197, allocations: 0.5201 MB / 1.044 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6197, allocations: 3.547 kB / 1.044 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/0.6198, allocations: 6.281 kB / 1.044 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.6203, allocations: 142.6 kB / 1.044 GB, free: 45.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6204, allocations: 5.641 kB / 1.044 GB, free: 45.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.6207, allocations: 73.7 kB / 1.044 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.6207, allocations: 19.66 kB / 1.044 GB, free: 45.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002763/0.621, allocations: 298.5 kB / 1.045 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.6211, allocations: 95.12 kB / 1.045 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.6213, allocations: 100.7 kB / 1.045 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6213, allocations: 5.875 kB / 1.045 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6213, allocations: 0 / 1.045 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6213, allocations: 5.266 kB / 1.045 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.6233, allocations: 1.455 MB / 1.046 GB, free: 44.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6233, allocations: 0 / 1.046 GB, free: 44.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.6238, allocations: 105.3 kB / 1.046 GB, free: 44.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6239, allocations: 3.25 kB / 1.046 GB, free: 44.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.6239, allocations: 16.8 kB / 1.046 GB, free: 44.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.6239, allocations: 3.125 kB / 1.046 GB, free: 44.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6239, allocations: 6.859 kB / 1.046 GB, free: 44.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.6253, allocations: 0.9779 MB / 1.047 GB, free: 43.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.6255, allocations: 229.8 kB / 1.048 GB, free: 43.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.6256, allocations: 11.47 kB / 1.048 GB, free: 43.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.626, allocations: 42.58 kB / 1.048 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.6261, allocations: 38.3 kB / 1.048 GB, free: 43.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.6262, allocations: 17.48 kB / 1.048 GB, free: 43.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005153/0.6267, allocations: 0.5099 MB / 1.048 GB, free: 43.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6267, allocations: 0 / 1.048 GB, free: 43.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005974/0.6273, allocations: 269 kB / 1.048 GB, free: 43.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001226/0.6274, allocations: 139.5 kB / 1.049 GB, free: 43.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.6288, allocations: 0.8009 MB / 1.049 GB, free: 42.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6289, allocations: 0 / 1.049 GB, free: 42.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.6293, allocations: 272.4 kB / 1.05 GB, free: 42.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6304, allocations: 245.5 kB / 1.05 GB, free: 42.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.6327, allocations: 1.922 MB / 1.052 GB, free: 41.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.6331, allocations: 0.9946 MB / 1.053 GB, free: 40.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.6336, allocations: 118.1 kB / 1.053 GB, free: 40.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.6337, allocations: 63.2 kB / 1.053 GB, free: 40.77 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.6337, allocations: 0 / 1.053 GB, free: 40.77 MB / 0.698 GB Notification: Performance of Templates: time 0.01385/0.6476, allocations: 8.688 MB / 1.061 GB, free: 40.2 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)