Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 254.9 MB / 269.9 MB, free: 9.652 MB / 218.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.001326/0.001326, allocations: 205.6 kB / 329.5 MB, free: 1.184 MB / 250.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 2.406/2.406, allocations: 225.6 MB / 0.6001 GB, free: 2.336 MB / 426.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.0009995/0.0009993, allocations: 102.1 kB / 0.7074 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007593/0.0007598, allocations: 15 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2447, allocations: 109.1 MB / 0.9308 GB, free: 25.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00515/0.2499, allocations: 3.665 MB / 0.9343 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003903/0.2539, allocations: 1.504 MB / 0.9358 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009195/0.2548, allocations: 35.81 kB / 0.9358 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.2554, allocations: 114.9 kB / 0.936 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.2566, allocations: 170.7 kB / 0.9361 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2587, allocations: 0.5071 MB / 0.9366 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.2606, allocations: 1.085 MB / 0.9377 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.2617, allocations: 467.3 kB / 0.9381 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007813/0.2625, allocations: 346 kB / 0.9384 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.263, allocations: 333.8 kB / 0.9388 GB, free: 16.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.2632, allocations: 24 kB / 0.9388 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.2633, allocations: 28 kB / 0.9388 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2635, allocations: 135.2 kB / 0.9389 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.2637, allocations: 177.1 kB / 0.9391 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.2646, allocations: 0.8068 MB / 0.9399 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2646, allocations: 0 / 0.9399 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2646, allocations: 0 / 0.9399 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.2647, allocations: 7.938 kB / 0.9399 GB, free: 15.78 MB / 0.5886 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.003355/0.268, allocations: 1.247 MB / 0.9411 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2681, allocations: 12.03 kB / 0.9411 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.2684, allocations: 123.4 kB / 0.9413 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.2702, allocations: 0.6931 MB / 0.9419 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2704, allocations: 88.25 kB / 0.942 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.2705, allocations: 72.38 kB / 0.9421 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.2724, allocations: 0.7368 MB / 0.9428 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.2725, allocations: 0 / 0.9428 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.2726, allocations: 27.98 kB / 0.9428 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2726, allocations: 16 kB / 0.9428 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.2744, allocations: 0.5244 MB / 0.9434 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004943/0.2793, allocations: 2.294 MB / 0.9456 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.2817, allocations: 0.6271 MB / 0.9462 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008536/0.2826, allocations: 278.4 kB / 0.9465 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.2827, allocations: 12.48 kB / 0.9465 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.2837, allocations: 327.1 kB / 0.9468 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.396e-06/0.2837, allocations: 0 / 0.9468 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.002579/0.2863, allocations: 0.7673 MB / 0.9476 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2864, allocations: 89.66 kB / 0.9476 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.2876, allocations: 0.7477 MB / 0.9484 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.2877, allocations: 37.7 kB / 0.9484 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.2881, allocations: 444.4 kB / 0.9488 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.2883, allocations: 205 kB / 0.949 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2884, allocations: 8 kB / 0.949 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.2885, allocations: 338 kB / 0.9494 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.2893, allocations: 201.2 kB / 0.9495 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.2901, allocations: 308.5 kB / 0.9498 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.2909, allocations: 238.1 kB / 0.9501 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.291, allocations: 0 / 0.9501 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00204/0.293, allocations: 0.6618 MB / 0.9507 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/0.2931, allocations: 151.2 kB / 0.9509 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2932, allocations: 7.938 kB / 0.9509 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.2932, allocations: 4 kB / 0.9509 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.2944, allocations: 151.8 kB / 0.951 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.2945, allocations: 15.94 kB / 0.951 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.2953, allocations: 75.34 kB / 0.9511 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.2954, allocations: 20 kB / 0.9511 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2954, allocations: 0 / 0.9511 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/0.2971, allocations: 0.5245 MB / 0.9516 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2972, allocations: 4 kB / 0.9516 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2972, allocations: 4 kB / 0.9516 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.2984, allocations: 144 kB / 0.9518 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2984, allocations: 11.94 kB / 0.9518 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.2992, allocations: 63.42 kB / 0.9518 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.2993, allocations: 23.98 kB / 0.9519 GB, free: 3.164 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004942/0.2998, allocations: 302.8 kB / 0.9522 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3, allocations: 90.88 kB / 0.9522 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3003, allocations: 109.2 kB / 0.9523 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3003, allocations: 4 kB / 0.9524 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3003, allocations: 0 / 0.9524 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3003, allocations: 7.922 kB / 0.9524 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.3035, allocations: 1.454 MB / 0.9538 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3035, allocations: 4 kB / 0.9538 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.3046, allocations: 111.9 kB / 0.9539 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.3046, allocations: 0 / 0.9539 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.3047, allocations: 19.92 kB / 0.9539 GB, free: 1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.3047, allocations: 4 kB / 0.9539 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3047, allocations: 0 / 0.9539 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.3074, allocations: 0.9743 MB / 0.9549 GB, free: 4 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.308, allocations: 227.7 kB / 0.9551 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.3081, allocations: 12 kB / 0.9551 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.309, allocations: 39.97 kB / 0.9551 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3092, allocations: 36.5 kB / 0.9552 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.3092, allocations: 16 kB / 0.9552 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00105/0.3103, allocations: 0.5146 MB / 0.9557 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.4e-07/0.3103, allocations: 0 / 0.9557 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001169/0.3115, allocations: 275 kB / 0.9559 GB, free: 14.88 MB / 0.6042 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 (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.0002236/0.3117, allocations: 127.8 kB / 0.9561 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.3147, allocations: 0.8002 MB / 0.9568 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.3148, allocations: 3.938 kB / 0.9569 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.3164, allocations: 275.1 kB / 0.9571 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/0.32, allocations: 243.4 kB / 0.9573 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/0.3274, allocations: 1.83 MB / 0.9591 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.3286, allocations: 0.994 MB / 0.9601 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001469/0.3302, allocations: 118.7 kB / 0.9602 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3307, allocations: 55.44 kB / 0.9603 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of SimCode: time 1.523e-06/0.3307, allocations: 0 / 0.9603 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.04392/0.3747, allocations: 8.389 MB / 0.9685 GB, free: 2.02 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)