Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007141/0.007141, allocations: 109.8 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 196 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.648/1.648, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 78.31 kB / 0.7258 GB, free: 8.914 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2951, allocations: 104.7 MB / 0.8281 GB, free: 96 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.006344/0.3015, allocations: 4.44 MB / 0.8325 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.3052, allocations: 1.439 MB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004944/0.3057, allocations: 23.94 kB / 0.8339 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.3062, allocations: 209.8 kB / 0.8341 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.3068, allocations: 162.5 kB / 0.8342 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.3075, allocations: 399.5 kB / 0.8346 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3087, allocations: 1.185 MB / 0.8358 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3098, allocations: 0.6903 MB / 0.8364 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.3103, allocations: 422.1 kB / 0.8369 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.3108, allocations: 489.2 kB / 0.8373 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.3109, allocations: 128 kB / 0.8374 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3111, allocations: 128 kB / 0.8376 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.3113, allocations: 278.9 kB / 0.8378 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.3117, allocations: 0.5243 MB / 0.8383 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.313, allocations: 1.459 MB / 0.8398 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.313, allocations: 0 / 0.8398 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.087e-06/0.313, allocations: 4 kB / 0.8398 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.3131, allocations: 0 / 0.8398 GB, free: 4.074 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002207/0.3153, allocations: 1.441 MB / 0.8412 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3153, allocations: 8.031 kB / 0.8412 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.3155, allocations: 135.3 kB / 0.8413 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3165, allocations: 0.677 MB / 0.842 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.3166, allocations: 78.38 kB / 0.842 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.3167, allocations: 104.3 kB / 0.8421 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3183, allocations: 0.9735 MB / 0.8431 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3183, allocations: 0 / 0.8431 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.3184, allocations: 40 kB / 0.8431 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.3184, allocations: 24 kB / 0.8432 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3196, allocations: 0.6713 MB / 0.8438 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/0.324, allocations: 3.502 MB / 0.8472 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3252, allocations: 0.695 MB / 0.8479 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.3259, allocations: 398.9 kB / 0.8483 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.3259, allocations: 12.64 kB / 0.8483 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006384/0.3266, allocations: 352.4 kB / 0.8486 GB, free: 10.72 MB / 0.67 GB Notification: Performance of pre-optimization done (n=74): time 3.757e-06/0.3266, allocations: 4 kB / 0.8486 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=74): time 0.001706/0.3283, allocations: 0.8366 MB / 0.8495 GB, free: 9.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3284, allocations: 162.9 kB / 0.8496 GB, free: 9.676 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.3294, allocations: 0.6842 MB / 0.8503 GB, free: 8.984 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.3295, allocations: 41.7 kB / 0.8503 GB, free: 8.938 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.3299, allocations: 472.2 kB / 0.8508 GB, free: 8.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.3301, allocations: 264.2 kB / 0.851 GB, free: 8.207 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3303, allocations: 138.6 kB / 0.8512 GB, free: 8.062 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3305, allocations: 337.9 kB / 0.8515 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.331, allocations: 252.7 kB / 0.8517 GB, free: 7.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.3316, allocations: 395.7 kB / 0.8521 GB, free: 7.047 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3328, allocations: 0.5825 MB / 0.8527 GB, free: 6.445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3328, allocations: 0 / 0.8527 GB, free: 6.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001512/0.3343, allocations: 0.762 MB / 0.8534 GB, free: 5.672 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3343, allocations: 4 kB / 0.8534 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3343, allocations: 0 / 0.8534 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3344, allocations: 8 kB / 0.8534 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.335, allocations: 155.8 kB / 0.8536 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.335, allocations: 7.984 kB / 0.8536 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.3354, allocations: 103.3 kB / 0.8537 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3354, allocations: 24 kB / 0.8537 GB, free: 5.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005259/0.336, allocations: 378 kB / 0.8541 GB, free: 5.004 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004413/0.3364, allocations: 339.7 kB / 0.8544 GB, free: 4.625 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007555/0.3372, allocations: 0.4927 MB / 0.8549 GB, free: 4.117 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.3372, allocations: 3.984 kB / 0.8549 GB, free: 4.113 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.0009286/0.3381, allocations: 0.6565 MB / 0.8555 GB, free: 3.449 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3381, allocations: 8 kB / 0.8555 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3381, allocations: 0 / 0.8555 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/0.3381, allocations: 4 kB / 0.8555 GB, free: 3.438 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.3386, allocations: 143.8 kB / 0.8557 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3387, allocations: 4 kB / 0.8557 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.339, allocations: 83.62 kB / 0.8557 GB, free: 3.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.339, allocations: 27.94 kB / 0.8558 GB, free: 3.184 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,limPIDInp.trigger,$whenCondition1,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0001941/0.3392, allocations: 226.8 kB / 0.856 GB, free: 2.957 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3393, allocations: 86.88 kB / 0.8561 GB, free: 2.871 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.3395, allocations: 92.81 kB / 0.8562 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3395, allocations: 8 kB / 0.8562 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3395, allocations: 0 / 0.8562 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.3396, allocations: 7.984 kB / 0.8562 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.3419, allocations: 1.644 MB / 0.8578 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3419, allocations: 7.984 kB / 0.8578 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3425, allocations: 135.8 kB / 0.8579 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3425, allocations: 0 / 0.8579 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.3426, allocations: 23.92 kB / 0.8579 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3426, allocations: 0 / 0.8579 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3426, allocations: 3.938 kB / 0.8579 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.3443, allocations: 1.058 MB / 0.859 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.3445, allocations: 171.9 kB / 0.8591 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.3446, allocations: 12 kB / 0.8592 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.3449, allocations: 43.97 kB / 0.8592 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.345, allocations: 44.53 kB / 0.8592 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.3451, allocations: 23.98 kB / 0.8593 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008224/0.3459, allocations: 475.1 kB / 0.8597 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3459, allocations: 3.938 kB / 0.8597 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008474/0.3468, allocations: 334.3 kB / 0.86 GB, free: 14.71 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0002666/0.347, allocations: 123.2 kB / 0.8602 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.3489, allocations: 0.9229 MB / 0.8611 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3489, allocations: 0.75 kB / 0.8611 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.3494, allocations: 319.6 kB / 0.8614 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/0.3504, allocations: 217.1 kB / 0.8616 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.3533, allocations: 1.666 MB / 0.8632 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/0.3541, allocations: 1.029 MB / 0.8642 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004134/0.3545, allocations: 94.28 kB / 0.8643 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3547, allocations: 63.42 kB / 0.8644 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of SimCode: time 9.02e-07/0.3547, allocations: 0 / 0.8644 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of Templates: time 0.02101/0.3757, allocations: 8.748 MB / 0.8729 GB, free: 1.578 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)