Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.709/1.709, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001077/0.001077, allocations: 184 kB / 371.6 MB, free: 3.406 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.464/1.464, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009032/0.0009034, allocations: 94.86 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.455e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8766/1.158, allocations: 140.8 MB / 1.117 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.159, allocations: 76.88 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03889/1.197, allocations: 15.94 MB / 1.133 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.874e-06/1.198, allocations: 0 / 1.133 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.353e-05/1.198, allocations: 20 kB / 1.133 GB, free: 35.12 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001696/1.199, allocations: 1.091 MB / 1.134 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.199, allocations: 12.03 kB / 1.134 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/1.199, allocations: 124.7 kB / 1.134 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/1.2, allocations: 124.2 kB / 1.134 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.201, allocations: 0.6487 MB / 1.135 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/1.201, allocations: 65.27 kB / 1.135 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.201, allocations: 83.14 kB / 1.135 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/1.202, allocations: 0.756 MB / 1.136 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.202, allocations: 8.641 kB / 1.136 GB, free: 32.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/1.202, allocations: 33.72 kB / 1.136 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.202, allocations: 20 kB / 1.136 GB, free: 32.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/1.203, allocations: 0.5175 MB / 1.136 GB, free: 32.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/1.207, allocations: 2.676 MB / 1.139 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.208, allocations: 0.5714 MB / 1.14 GB, free: 30.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/1.209, allocations: 262.6 kB / 1.14 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/1.209, allocations: 13.25 kB / 1.14 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/1.209, allocations: 304.4 kB / 1.14 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=63): time 3.476e-06/1.209, allocations: 0 / 1.14 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63): time 0.0008041/1.21, allocations: 0.4956 MB / 1.141 GB, free: 29.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/1.21, allocations: 189.3 kB / 1.141 GB, free: 29.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/1.211, allocations: 0.6218 MB / 1.141 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/1.211, allocations: 41.31 kB / 1.141 GB, free: 29.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/1.211, allocations: 443.9 kB / 1.142 GB, free: 28.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/1.211, allocations: 208.5 kB / 1.142 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/1.211, allocations: 17.94 kB / 1.142 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/1.211, allocations: 329.1 kB / 1.142 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/1.212, allocations: 198.4 kB / 1.143 GB, free: 28.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/1.212, allocations: 341.3 kB / 1.143 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/1.213, allocations: 261.2 kB / 1.143 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.213, allocations: 0 / 1.143 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00096/1.213, allocations: 0.6722 MB / 1.144 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.214, allocations: 0.5612 MB / 1.144 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.214, allocations: 4 kB / 1.144 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.214, allocations: 7.938 kB / 1.144 GB, free: 26.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.214, allocations: 147.4 kB / 1.145 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.214, allocations: 7.938 kB / 1.145 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/1.215, allocations: 156.3 kB / 1.145 GB, free: 26.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/1.215, allocations: 25.19 kB / 1.145 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.215, allocations: 4.656 kB / 1.145 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007893/1.216, allocations: 0.5486 MB / 1.145 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.216, allocations: 4 kB / 1.145 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/1.216, allocations: 4 kB / 1.145 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/1.216, allocations: 105.6 kB / 1.145 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.216, allocations: 8.719 kB / 1.145 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/1.217, allocations: 118 kB / 1.145 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/1.217, allocations: 24.11 kB / 1.146 GB, free: 26.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0001428/1.217, allocations: 145.2 kB / 1.146 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/1.217, allocations: 91.27 kB / 1.146 GB, free: 25.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/1.217, allocations: 92.41 kB / 1.146 GB, free: 25.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.217, allocations: 5.406 kB / 1.146 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.217, allocations: 4 kB / 1.146 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.217, allocations: 3.516 kB / 1.146 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/1.219, allocations: 1.341 MB / 1.147 GB, free: 25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.219, allocations: 0 / 1.147 GB, free: 25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/1.219, allocations: 121.3 kB / 1.147 GB, free: 24.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.219, allocations: 4 kB / 1.147 GB, free: 24.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/1.22, allocations: 12.5 kB / 1.147 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/1.22, allocations: 8.844 kB / 1.147 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.22, allocations: 4.594 kB / 1.147 GB, free: 24.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.221, allocations: 0.8598 MB / 1.148 GB, free: 24.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/1.221, allocations: 172.9 kB / 1.148 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/1.221, allocations: 13.78 kB / 1.148 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/1.221, allocations: 59.36 kB / 1.148 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/1.221, allocations: 33.22 kB / 1.148 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/1.221, allocations: 21.64 kB / 1.148 GB, free: 24.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005718/1.222, allocations: 0.4908 MB / 1.149 GB, free: 23.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.62e-07/1.222, allocations: 0.75 kB / 1.149 GB, free: 23.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007735/1.223, allocations: 316.7 kB / 1.149 GB, free: 23.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001561/1.224, allocations: 1.431 MB / 1.151 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001372/1.226, allocations: 0.9413 MB / 1.152 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.226, allocations: 4.812 kB / 1.152 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/1.226, allocations: 237.7 kB / 1.152 GB, free: 21.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/1.227, allocations: 157.9 kB / 1.152 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/1.229, allocations: 1.228 MB / 1.153 GB, free: 20.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.23, allocations: 1.006 MB / 1.154 GB, free: 19.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006081/1.23, allocations: 135 kB / 1.154 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/1.231, allocations: 341.6 kB / 1.155 GB, free: 19.36 MB / 0.7448 GB Notification: Performance of SimCode: time 5.1e-07/1.231, allocations: 0 / 1.155 GB, free: 19.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/1.269, allocations: 17.09 MB / 1.171 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.269, allocations: 156.1 kB / 1.171 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.998, allocations: 0 / 1.171 GB, free: 7.469 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)