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.001385/0.001385, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001444/0.001444, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.649/1.649, allocations: 251.9 MB / 0.51 GB, free: 4.797 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.0005263/0.0005264, allocations: 19.12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5685, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004308/0.5729, allocations: 3.715 MB / 0.7316 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.5761, allocations: 1.366 MB / 0.7329 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.5769, allocations: 23.88 kB / 0.733 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.5771, allocations: 83.02 kB / 0.733 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.5778, allocations: 175.3 kB / 0.7332 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.5784, allocations: 279.7 kB / 0.7335 GB, free: 5.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000999/0.5794, allocations: 0.6984 MB / 0.7342 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007471/0.5802, allocations: 489.2 kB / 0.7346 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.5805, allocations: 270.4 kB / 0.7349 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.5808, allocations: 321.8 kB / 0.7352 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.5809, allocations: 24 kB / 0.7352 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.581, allocations: 28 kB / 0.7352 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5811, allocations: 147.2 kB / 0.7354 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.5813, allocations: 185.1 kB / 0.7356 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.5825, allocations: 1.077 MB / 0.7366 GB, free: 2.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5825, allocations: 0 / 0.7366 GB, free: 2.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5825, allocations: 0 / 0.7366 GB, free: 2.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.5825, allocations: 0 / 0.7366 GB, free: 2.57 MB / 0.545 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.002246/0.5848, allocations: 1.297 MB / 0.7379 GB, free: 1.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5849, allocations: 8.031 kB / 0.7379 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.5851, allocations: 134.4 kB / 0.738 GB, free: 1.082 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.586, allocations: 0.6218 MB / 0.7386 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/0.5861, allocations: 74 kB / 0.7387 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.5863, allocations: 104 kB / 0.7388 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.5881, allocations: 0.9632 MB / 0.7397 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.5881, allocations: 7.938 kB / 0.7397 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.5882, allocations: 40 kB / 0.7398 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.5883, allocations: 28 kB / 0.7398 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.5897, allocations: 0.6948 MB / 0.7405 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/0.5947, allocations: 3.58 MB / 0.744 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5961, allocations: 0.7301 MB / 0.7447 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.5961, allocations: 8.656 kB / 0.7447 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007608/0.5969, allocations: 368.4 kB / 0.7451 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.706e-06/0.5969, allocations: 0 / 0.7451 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.00169/0.5986, allocations: 0.8756 MB / 0.7459 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.5987, allocations: 170.9 kB / 0.7461 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.5996, allocations: 0.6767 MB / 0.7467 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.5997, allocations: 41.7 kB / 0.7468 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.6002, allocations: 487.8 kB / 0.7472 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.6005, allocations: 244.4 kB / 0.7475 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.6005, allocations: 16 kB / 0.7475 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6006, allocations: 333.9 kB / 0.7478 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.6012, allocations: 257.9 kB / 0.7481 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.6018, allocations: 399.7 kB / 0.7484 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.6024, allocations: 310.9 kB / 0.7487 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6024, allocations: 4 kB / 0.7487 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001417/0.6038, allocations: 0.7815 MB / 0.7495 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003057/0.6042, allocations: 0.6162 MB / 0.7501 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.6042, allocations: 0 / 0.7501 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6042, allocations: 4 kB / 0.7501 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.6048, allocations: 167.8 kB / 0.7503 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.6049, allocations: 4 kB / 0.7503 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.6053, allocations: 115.2 kB / 0.7504 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.6053, allocations: 31.92 kB / 0.7504 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.6054, allocations: 6.344 kB / 0.7504 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000797/0.6062, allocations: 0.5506 MB / 0.751 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.6062, allocations: 4.125 kB / 0.751 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.6062, allocations: 11.95 kB / 0.751 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.6067, allocations: 143.8 kB / 0.7511 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6067, allocations: 4 kB / 0.7511 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.607, allocations: 87.25 kB / 0.7512 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.607, allocations: 28 kB / 0.7512 GB, free: 3.164 MB / 0.5606 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,$whenCondition1,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.6075, allocations: 316.2 kB / 0.7515 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.6076, allocations: 82.97 kB / 0.7516 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.6078, allocations: 100.7 kB / 0.7517 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.6078, allocations: 8 kB / 0.7517 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6078, allocations: 0 / 0.7517 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.6078, allocations: 3.984 kB / 0.7517 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.6103, allocations: 1.675 MB / 0.7533 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6103, allocations: 0 / 0.7533 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.6108, allocations: 143.8 kB / 0.7535 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.6109, allocations: 8 kB / 0.7535 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.6109, allocations: 20 kB / 0.7535 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.6109, allocations: 0 / 0.7535 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.6109, allocations: 4 kB / 0.7535 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.6128, allocations: 1.096 MB / 0.7546 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.613, allocations: 167.9 kB / 0.7547 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.6131, allocations: 23.95 kB / 0.7548 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.6134, allocations: 51.95 kB / 0.7548 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.6135, allocations: 40.59 kB / 0.7548 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.6135, allocations: 20 kB / 0.7549 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005729/0.6141, allocations: 471 kB / 0.7553 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6141, allocations: 0 / 0.7553 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008062/0.6149, allocations: 338.3 kB / 0.7556 GB, free: 14.53 MB / 0.5762 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 (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.000237/0.6152, allocations: 131.2 kB / 0.7558 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.6169, allocations: 0.9388 MB / 0.7567 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6169, allocations: 0 / 0.7567 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.6174, allocations: 332.1 kB / 0.757 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.6182, allocations: 189 kB / 0.7572 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.6211, allocations: 2.028 MB / 0.7592 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.6217, allocations: 1.045 MB / 0.7602 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.6221, allocations: 98.28 kB / 0.7603 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.6223, allocations: 63.42 kB / 0.7603 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.6223, allocations: 4 kB / 0.7603 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.01579/0.6381, allocations: 7.818 MB / 0.768 GB, free: 1.934 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: