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.773/1.773, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001519/0.001519, allocations: 182.2 kB / 371.6 MB, free: 3.359 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.553/1.553, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.000985/0.0009852, allocations: 94.83 kB / 0.745 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.741e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7905/1.091, allocations: 143.8 MB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.092, allocations: 88.39 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04135/1.133, allocations: 17.4 MB / 1.137 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/1.133, allocations: 0 / 1.137 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.679e-05/1.133, allocations: 28 kB / 1.137 GB, free: 32.61 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001676/1.135, allocations: 1.098 MB / 1.139 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.135, allocations: 8.031 kB / 1.139 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/1.135, allocations: 151.5 kB / 1.139 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/1.135, allocations: 125.8 kB / 1.139 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/1.136, allocations: 0.5971 MB / 1.139 GB, free: 31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/1.136, allocations: 71.25 kB / 1.139 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.136, allocations: 105.8 kB / 1.14 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/1.138, allocations: 0.8512 MB / 1.14 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.138, allocations: 0 / 1.14 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/1.138, allocations: 41.45 kB / 1.14 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/1.138, allocations: 20 kB / 1.14 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/1.139, allocations: 0.5788 MB / 1.141 GB, free: 30 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/1.143, allocations: 2.736 MB / 1.144 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008834/1.144, allocations: 0.6313 MB / 1.144 GB, free: 27.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/1.144, allocations: 350.1 kB / 1.145 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/1.144, allocations: 9.344 kB / 1.145 GB, free: 27.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006087/1.145, allocations: 334.6 kB / 1.145 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 2.645e-06/1.145, allocations: 0 / 1.145 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.0008679/1.146, allocations: 0.5597 MB / 1.145 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.146, allocations: 167.5 kB / 1.146 GB, free: 26.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/1.147, allocations: 0.5655 MB / 1.146 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/1.147, allocations: 44.61 kB / 1.146 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/1.147, allocations: 443.8 kB / 1.147 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/1.147, allocations: 265.6 kB / 1.147 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/1.147, allocations: 14.62 kB / 1.147 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.147, allocations: 333.2 kB / 1.147 GB, free: 25.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/1.148, allocations: 195.3 kB / 1.147 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/1.148, allocations: 315.7 kB / 1.148 GB, free: 25.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/1.149, allocations: 228.5 kB / 1.148 GB, free: 25.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.149, allocations: 0 / 1.148 GB, free: 25.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009996/1.15, allocations: 0.6314 MB / 1.149 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/1.15, allocations: 193.8 kB / 1.149 GB, free: 24.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.15, allocations: 0 / 1.149 GB, free: 24.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/1.15, allocations: 4 kB / 1.149 GB, free: 24.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/1.151, allocations: 164.2 kB / 1.149 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.151, allocations: 4.797 kB / 1.149 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/1.151, allocations: 108.9 kB / 1.149 GB, free: 24.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/1.151, allocations: 28.25 kB / 1.149 GB, free: 24.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/1.151, allocations: 5.094 kB / 1.149 GB, free: 24.45 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007192/1.152, allocations: 0.5152 MB / 1.15 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/1.152, allocations: 0.9375 kB / 1.15 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/1.152, allocations: 4 kB / 1.15 GB, free: 24.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/1.152, allocations: 136.7 kB / 1.15 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.152, allocations: 4.625 kB / 1.15 GB, free: 24.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/1.153, allocations: 92.02 kB / 1.15 GB, free: 23.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/1.153, allocations: 19.12 kB / 1.15 GB, free: 23.93 MB / 0.7448 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.000161/1.153, allocations: 150.8 kB / 1.15 GB, free: 23.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/1.153, allocations: 87.56 kB / 1.15 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/1.153, allocations: 94.97 kB / 1.15 GB, free: 23.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.153, allocations: 8 kB / 1.15 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.153, allocations: 1.125 kB / 1.15 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.153, allocations: 4.312 kB / 1.15 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/1.156, allocations: 1.596 MB / 1.152 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.156, allocations: 0 / 1.152 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/1.156, allocations: 138.7 kB / 1.152 GB, free: 22.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/1.156, allocations: 4 kB / 1.152 GB, free: 22.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/1.156, allocations: 23.53 kB / 1.152 GB, free: 22.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.156, allocations: 4.797 kB / 1.152 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.156, allocations: 0 / 1.152 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.157, allocations: 0.9758 MB / 1.153 GB, free: 21.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/1.158, allocations: 171 kB / 1.153 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/1.158, allocations: 14.08 kB / 1.153 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/1.158, allocations: 57.11 kB / 1.153 GB, free: 21.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/1.158, allocations: 41.52 kB / 1.153 GB, free: 21.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/1.158, allocations: 25.17 kB / 1.153 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004934/1.159, allocations: 449.6 kB / 1.154 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.159, allocations: 0 / 1.154 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006977/1.159, allocations: 327.2 kB / 1.154 GB, free: 21.13 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.001536/1.161, allocations: 1.552 MB / 1.155 GB, free: 19.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.162, allocations: 0.8428 MB / 1.156 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.162, allocations: 0 / 1.156 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/1.163, allocations: 291.4 kB / 1.156 GB, free: 19.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/1.163, allocations: 151.9 kB / 1.157 GB, free: 19.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/1.166, allocations: 1.418 MB / 1.158 GB, free: 17.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/1.166, allocations: 1.028 MB / 1.159 GB, free: 17.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006214/1.167, allocations: 138.7 kB / 1.159 GB, free: 16.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/1.167, allocations: 369.9 kB / 1.159 GB, free: 16.88 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/1.167, allocations: 4 kB / 1.159 GB, free: 16.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/1.201, allocations: 15.96 MB / 1.175 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.202, allocations: 175 kB / 1.175 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.83, allocations: 0 / 1.175 GB, free: 4.355 MB / 0.7448 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)