Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001019/0.001019, allocations: 172.9 kB / 361.4 MB, free: 6.832 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.564/1.564, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.001079/0.001079, allocations: 92.36 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.483e-05, allocations: 4 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6861, allocations: 115.3 MB / 0.9645 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.8798, allocations: 142.1 MB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.8802, allocations: 93.22 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04548/0.9257, allocations: 17.29 MB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.486e-06/0.9257, allocations: 4 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001076/0.9258, allocations: 27.92 kB / 1.12 GB, free: 12.29 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.002731/0.9286, allocations: 1.091 MB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.9287, allocations: 12.03 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005114/0.9292, allocations: 123.5 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.9306, allocations: 0.5977 MB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.9307, allocations: 32 kB / 1.122 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.9309, allocations: 63.91 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/0.9322, allocations: 0.5311 MB / 1.123 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.9336, allocations: 0.7067 MB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.9337, allocations: 0 / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.9337, allocations: 0 / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.9338, allocations: 24 kB / 1.123 GB, free: 9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/0.9385, allocations: 2.547 MB / 1.126 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009957/0.9396, allocations: 0.6016 MB / 1.126 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.94, allocations: 327.2 kB / 1.127 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.9401, allocations: 8.781 kB / 1.127 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005486/0.9406, allocations: 312.5 kB / 1.127 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 4.418e-06/0.9406, allocations: 0 / 1.127 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.0009201/0.9415, allocations: 0.5189 MB / 1.128 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.9416, allocations: 163 kB / 1.128 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.9422, allocations: 475.4 kB / 1.128 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.9423, allocations: 27.02 kB / 1.128 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.9426, allocations: 452 kB / 1.129 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.9428, allocations: 252.1 kB / 1.129 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.9428, allocations: 0 / 1.129 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9429, allocations: 386.7 kB / 1.129 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.9433, allocations: 189.5 kB / 1.129 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.9437, allocations: 287.6 kB / 1.13 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.944, allocations: 220.5 kB / 1.13 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.944, allocations: 0 / 1.13 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009106/0.9449, allocations: 0.5813 MB / 1.13 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.945, allocations: 181.2 kB / 1.131 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9451, allocations: 5.875 kB / 1.131 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9451, allocations: 7.953 kB / 1.131 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.9458, allocations: 173.5 kB / 1.131 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.9458, allocations: 4 kB / 1.131 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.9462, allocations: 83.48 kB / 1.131 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.9462, allocations: 20 kB / 1.131 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.9463, allocations: 5.25 kB / 1.131 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007131/0.947, allocations: 462.6 kB / 1.131 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.947, allocations: 0 / 1.131 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.947, allocations: 4 kB / 1.131 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.9475, allocations: 131.8 kB / 1.132 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9476, allocations: 6.656 kB / 1.132 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.9479, allocations: 63.44 kB / 1.132 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.9479, allocations: 24 kB / 1.132 GB, free: 384 kB / 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.0001452/0.9481, allocations: 116.8 kB / 1.132 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007723/0.9488, allocations: 0.5171 MB / 1.132 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.9489, allocations: 71.16 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.9491, allocations: 76 kB / 1.132 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9491, allocations: 11.94 kB / 1.132 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.9492, allocations: 4 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.9492, allocations: 5.203 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.9513, allocations: 1.425 MB / 1.134 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9513, allocations: 0 / 1.134 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.9519, allocations: 147.8 kB / 1.134 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.952, allocations: 4 kB / 1.134 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.952, allocations: 4 kB / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.952, allocations: 4 kB / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.952, allocations: 0 / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.9536, allocations: 0.9195 MB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.9538, allocations: 156 kB / 1.135 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.9539, allocations: 4 kB / 1.135 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.9542, allocations: 48.73 kB / 1.135 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.9543, allocations: 44.72 kB / 1.135 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.9544, allocations: 20 kB / 1.135 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000433/0.9548, allocations: 355.1 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9548, allocations: 4 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008004/0.9556, allocations: 290.5 kB / 1.136 GB, free: 12.09 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.00171/0.9573, allocations: 1.48 MB / 1.137 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.9587, allocations: 0.7891 MB / 1.138 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9587, allocations: 0 / 1.138 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.9591, allocations: 270.9 kB / 1.138 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.9599, allocations: 128.4 kB / 1.138 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.9627, allocations: 1.34 MB / 1.14 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.9634, allocations: 1.034 MB / 1.141 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005858/0.964, allocations: 125.4 kB / 1.141 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.9645, allocations: 366 kB / 1.141 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.9645, allocations: 0 / 1.141 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/1.007, allocations: 14.26 MB / 1.155 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.007, allocations: 180.8 kB / 1.155 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.426, allocations: 0 / 1.155 GB, free: 8.297 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)