Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.676/1.676, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 181.3 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007237/0.0007237, allocations: 100.2 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 12 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.7666, allocations: 143.1 MB / 1.166 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.7669, allocations: 82.39 kB / 1.166 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02963/0.7965, allocations: 10.67 MB / 1.177 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7966, allocations: 0 / 1.177 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.895e-05/0.7966, allocations: 12 kB / 1.177 GB, free: 8.156 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001658/0.7983, allocations: 0.8853 MB / 1.177 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7983, allocations: 8.031 kB / 1.177 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.7986, allocations: 76.09 kB / 1.177 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.7994, allocations: 483 kB / 1.178 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.7995, allocations: 45.36 kB / 1.178 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.7996, allocations: 56.38 kB / 1.178 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.8005, allocations: 0.4969 MB / 1.179 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.8005, allocations: 3.938 kB / 1.179 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.8006, allocations: 21.03 kB / 1.179 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.8006, allocations: 12 kB / 1.179 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.8013, allocations: 363.8 kB / 1.179 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.8037, allocations: 1.59 MB / 1.18 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.8046, allocations: 0.8954 MB / 1.181 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.805, allocations: 212.7 kB / 1.182 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.805, allocations: 4 kB / 1.182 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/0.8055, allocations: 260.9 kB / 1.182 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 3.287e-06/0.8055, allocations: 0.8906 kB / 1.182 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.001045/0.8066, allocations: 0.5609 MB / 1.182 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.8066, allocations: 111.2 kB / 1.182 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.8071, allocations: 398.9 kB / 1.183 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.8072, allocations: 41.7 kB / 1.183 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.8074, allocations: 269 kB / 1.183 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.8075, allocations: 145.8 kB / 1.183 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.8075, allocations: 16 kB / 1.183 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8077, allocations: 354.8 kB / 1.184 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.8081, allocations: 197 kB / 1.184 GB, free: 368 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.8085, allocations: 291.4 kB / 1.184 GB, free: 44 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.8093, allocations: 471.3 kB / 1.185 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8093, allocations: 0 / 1.185 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001091/0.8104, allocations: 0.6433 MB / 1.185 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.8105, allocations: 198.1 kB / 1.185 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8105, allocations: 8 kB / 1.185 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8105, allocations: 4 kB / 1.185 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.8109, allocations: 87.89 kB / 1.185 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8109, allocations: 4 kB / 1.185 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.8114, allocations: 127.5 kB / 1.186 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.8115, allocations: 31.98 kB / 1.186 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.8115, allocations: 4 kB / 1.186 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007831/0.8123, allocations: 0.5307 MB / 1.186 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8123, allocations: 0 / 1.186 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.88e-06/0.8123, allocations: 4 kB / 1.186 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.8126, allocations: 71.91 kB / 1.186 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8126, allocations: 8.688 kB / 1.186 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.813, allocations: 115.8 kB / 1.186 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.8131, allocations: 25.44 kB / 1.186 GB, free: 13.64 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002503/0.8133, allocations: 258.3 kB / 1.187 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.8134, allocations: 55.27 kB / 1.187 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.8135, allocations: 53.19 kB / 1.187 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8135, allocations: 4 kB / 1.187 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8135, allocations: 0 / 1.187 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8135, allocations: 11.55 kB / 1.187 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.8149, allocations: 1.084 MB / 1.188 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.815, allocations: 3.938 kB / 1.188 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.8153, allocations: 82.14 kB / 1.188 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.8153, allocations: 0 / 1.188 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.8153, allocations: 11.94 kB / 1.188 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.8153, allocations: 5.016 kB / 1.188 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8154, allocations: 0 / 1.188 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.8165, allocations: 0.7245 MB / 1.189 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.8166, allocations: 128.5 kB / 1.189 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.8166, allocations: 12 kB / 1.189 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.8168, allocations: 29.28 kB / 1.189 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.8169, allocations: 28.41 kB / 1.189 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.8169, allocations: 19.98 kB / 1.189 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002812/0.8172, allocations: 271.2 kB / 1.189 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8172, allocations: 0 / 1.189 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006017/0.8178, allocations: 235.1 kB / 1.189 GB, free: 10.55 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002042/0.818, allocations: 131.1 kB / 1.189 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.8194, allocations: 0.9428 MB / 1.19 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8194, allocations: 8.125 kB / 1.19 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.8197, allocations: 198.4 kB / 1.191 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.8203, allocations: 92.55 kB / 1.191 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.8219, allocations: 1.119 MB / 1.192 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.8223, allocations: 0.8594 MB / 1.193 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.8225, allocations: 59.09 kB / 1.193 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8226, allocations: 43.42 kB / 1.193 GB, free: 7 MB / 0.7605 GB Notification: Performance of SimCode: time 2.71e-07/0.8226, allocations: 0 / 1.193 GB, free: 7 MB / 0.7605 GB Notification: Performance of Templates: time 0.01256/0.8352, allocations: 6.549 MB / 1.199 GB, free: 0.6719 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)