Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 185 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.6366 GB, free: 8.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000919/0.0009193, allocations: 93.16 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3245, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8007/1.125, allocations: 143.9 MB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.126, allocations: 90.8 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04485/1.17, allocations: 17.44 MB / 1.146 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.256e-06/1.17, allocations: 0 / 1.146 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.527e-05/1.171, allocations: 31.98 kB / 1.146 GB, free: 20.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001942/1.172, allocations: 1.238 MB / 1.147 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.173, allocations: 13.62 kB / 1.147 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/1.173, allocations: 146.7 kB / 1.147 GB, free: 19.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/1.173, allocations: 132.2 kB / 1.148 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/1.174, allocations: 0.5956 MB / 1.148 GB, free: 18.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/1.174, allocations: 78.94 kB / 1.148 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.174, allocations: 99.91 kB / 1.148 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.175, allocations: 0.916 MB / 1.149 GB, free: 17.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/1.175, allocations: 0 / 1.149 GB, free: 17.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/1.175, allocations: 45.64 kB / 1.149 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.176, allocations: 20 kB / 1.149 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/1.177, allocations: 0.6971 MB / 1.15 GB, free: 16.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/1.18, allocations: 2.73 MB / 1.153 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/1.181, allocations: 0.7591 MB / 1.153 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/1.181, allocations: 12.64 kB / 1.153 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006096/1.182, allocations: 384.3 kB / 1.154 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 2.334e-06/1.182, allocations: 0 / 1.154 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001429/1.183, allocations: 0.9075 MB / 1.155 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.183, allocations: 175.6 kB / 1.155 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/1.184, allocations: 0.5662 MB / 1.155 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/1.184, allocations: 45.7 kB / 1.155 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/1.184, allocations: 440.2 kB / 1.156 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.184, allocations: 268.1 kB / 1.156 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/1.184, allocations: 16 kB / 1.156 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/1.184, allocations: 330 kB / 1.156 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/1.185, allocations: 257.9 kB / 1.157 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/1.185, allocations: 376.3 kB / 1.157 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/1.186, allocations: 286.9 kB / 1.157 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.186, allocations: 4 kB / 1.157 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001046/1.187, allocations: 0.7465 MB / 1.158 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/1.187, allocations: 194 kB / 1.158 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.187, allocations: 4 kB / 1.158 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.187, allocations: 4 kB / 1.158 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/1.188, allocations: 159.8 kB / 1.158 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.188, allocations: 4 kB / 1.158 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/1.188, allocations: 116.3 kB / 1.158 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/1.188, allocations: 23.98 kB / 1.159 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/1.188, allocations: 7.938 kB / 1.159 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006308/1.189, allocations: 0.5319 MB / 1.159 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.189, allocations: 1.938 kB / 1.159 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-06/1.189, allocations: 7.984 kB / 1.159 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/1.189, allocations: 131.8 kB / 1.159 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.189, allocations: 4 kB / 1.159 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/1.189, allocations: 79.45 kB / 1.159 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/1.189, allocations: 20 kB / 1.159 GB, free: 7.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0003765/1.19, allocations: 308.9 kB / 1.16 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/1.19, allocations: 83.62 kB / 1.16 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/1.19, allocations: 96.64 kB / 1.16 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.19, allocations: 8 kB / 1.16 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.19, allocations: 4 kB / 1.16 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.19, allocations: 3.984 kB / 1.16 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/1.192, allocations: 1.706 MB / 1.161 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.192, allocations: 4 kB / 1.161 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/1.193, allocations: 140.8 kB / 1.162 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/1.193, allocations: 1.812 kB / 1.162 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/1.193, allocations: 16 kB / 1.162 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.193, allocations: 7.938 kB / 1.162 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.193, allocations: 0 / 1.162 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/1.194, allocations: 1.139 MB / 1.163 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.194, allocations: 167.9 kB / 1.163 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/1.194, allocations: 16 kB / 1.163 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/1.195, allocations: 56.53 kB / 1.163 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/1.195, allocations: 40.59 kB / 1.163 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/1.195, allocations: 23.98 kB / 1.163 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004487/1.195, allocations: 459 kB / 1.163 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 0 / 1.163 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006526/1.196, allocations: 326.6 kB / 1.164 GB, free: 2.734 MB / 0.7292 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.001667/1.198, allocations: 1.71 MB / 1.165 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001394/1.199, allocations: 0.9388 MB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.199, allocations: 3.938 kB / 1.166 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005655/1.2, allocations: 343.7 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/1.2, allocations: 145.3 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/1.208, allocations: 5.174 MB / 1.172 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/1.209, allocations: 1.029 MB / 1.173 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004339/1.209, allocations: 92.83 kB / 1.173 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/1.21, allocations: 379.3 kB / 1.173 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.21, allocations: 0 / 1.173 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/1.244, allocations: 14.99 MB / 1.188 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.244, allocations: 209.7 kB / 1.188 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.711, allocations: 0 / 1.188 GB, free: 9.82 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)