Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.488/2.488, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001511/0.001511, allocations: 172.9 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.00113/0.001129, allocations: 96.58 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.646e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.7878, allocations: 115.3 MB / 0.9634 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/1.028, allocations: 142 MB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.028, allocations: 94.34 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06936/1.098, allocations: 17.29 MB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.714e-06/1.098, allocations: 0 / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.219e-05/1.098, allocations: 23.94 kB / 1.119 GB, free: 13.18 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.002677/1.101, allocations: 1.095 MB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.101, allocations: 12.03 kB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/1.101, allocations: 123.7 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/1.103, allocations: 0.5977 MB / 1.121 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/1.103, allocations: 36 kB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/1.103, allocations: 59.91 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001642/1.104, allocations: 0.5311 MB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/1.106, allocations: 0.7067 MB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.106, allocations: 0 / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.107, allocations: 9.969 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/1.107, allocations: 20 kB / 1.122 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006578/1.113, allocations: 2.54 MB / 1.125 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/1.115, allocations: 0.6061 MB / 1.125 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/1.115, allocations: 327.2 kB / 1.126 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.095e-05/1.116, allocations: 8.781 kB / 1.126 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000764/1.116, allocations: 308.6 kB / 1.126 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 3.707e-06/1.116, allocations: 3.938 kB / 1.126 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001466/1.118, allocations: 0.515 MB / 1.126 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/1.118, allocations: 171 kB / 1.127 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/1.119, allocations: 475.3 kB / 1.127 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.119, allocations: 25.7 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/1.119, allocations: 452 kB / 1.127 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/1.12, allocations: 252.1 kB / 1.128 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/1.12, allocations: 0 / 1.128 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.12, allocations: 382.8 kB / 1.128 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/1.121, allocations: 189.6 kB / 1.128 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/1.121, allocations: 291.6 kB / 1.129 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/1.122, allocations: 220.5 kB / 1.129 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.122, allocations: 0 / 1.129 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001555/1.123, allocations: 0.5833 MB / 1.129 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.124, allocations: 185.1 kB / 1.129 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.124, allocations: 2.438 kB / 1.129 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.124, allocations: 4 kB / 1.129 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.125, allocations: 167.8 kB / 1.13 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.125, allocations: 4 kB / 1.13 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/1.126, allocations: 83.48 kB / 1.13 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/1.126, allocations: 27.98 kB / 1.13 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.126, allocations: 4 kB / 1.13 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/1.127, allocations: 454.6 kB / 1.13 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.127, allocations: 0 / 1.13 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.127, allocations: 4 kB / 1.13 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/1.128, allocations: 139.8 kB / 1.13 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.128, allocations: 6.109 kB / 1.13 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/1.129, allocations: 63.44 kB / 1.13 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/1.129, allocations: 20 kB / 1.13 GB, free: 1.258 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 () * 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.0002567/1.129, allocations: 124.6 kB / 1.131 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001295/1.13, allocations: 0.5033 MB / 1.131 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/1.131, allocations: 75.06 kB / 1.131 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/1.131, allocations: 83.98 kB / 1.131 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.131, allocations: 11.94 kB / 1.131 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.131, allocations: 5.312 kB / 1.131 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/1.131, allocations: 7.938 kB / 1.131 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/1.134, allocations: 1.42 MB / 1.133 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.134, allocations: 0 / 1.133 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.135, allocations: 151.8 kB / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.135, allocations: 4 kB / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/1.135, allocations: 4 kB / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.136, allocations: 0 / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.136, allocations: 3.953 kB / 1.133 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/1.138, allocations: 0.9157 MB / 1.134 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/1.138, allocations: 156 kB / 1.134 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.138, allocations: 12 kB / 1.134 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/1.139, allocations: 42.67 kB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.139, allocations: 36.73 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/1.139, allocations: 27.94 kB / 1.134 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006626/1.14, allocations: 359.2 kB / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.14, allocations: 4 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001092/1.141, allocations: 286.4 kB / 1.135 GB, free: 12.96 MB / 0.7448 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 () * 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.002492/1.143, allocations: 1.466 MB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002118/1.145, allocations: 0.7969 MB / 1.137 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.145, allocations: 0 / 1.137 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/1.146, allocations: 270.8 kB / 1.137 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.147, allocations: 130.6 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/1.151, allocations: 1.341 MB / 1.138 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/1.152, allocations: 1.038 MB / 1.139 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009665/1.153, allocations: 122.9 kB / 1.14 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/1.154, allocations: 361 kB / 1.14 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of SimCode: time 1.423e-06/1.154, allocations: 0 / 1.14 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08415/1.238, allocations: 14.26 MB / 1.154 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/1.238, allocations: 163 kB / 1.154 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.58, allocations: 2.875 kB / 1.154 GB, free: 9.188 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)