Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.557/2.557, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001489/0.001488, allocations: 193.2 kB / 370.8 MB, free: 10.88 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.157/2.157, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 101.9 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004961, allocations: 18.09 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9415/1.159, allocations: 139.7 MB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.159, allocations: 77.48 kB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06415/1.224, allocations: 15.97 MB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.186e-06/1.224, allocations: 4 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001183/1.224, allocations: 23.5 kB / 1.13 GB, free: 29.2 MB / 0.698 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.004228/1.228, allocations: 1.254 MB / 1.132 GB, free: 28.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/1.228, allocations: 15.61 kB / 1.132 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005343/1.229, allocations: 134.6 kB / 1.132 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/1.229, allocations: 123.7 kB / 1.132 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/1.231, allocations: 0.6479 MB / 1.133 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/1.231, allocations: 64.03 kB / 1.133 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/1.232, allocations: 88.25 kB / 1.133 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/1.234, allocations: 0.8326 MB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/1.234, allocations: 3.938 kB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/1.234, allocations: 32.69 kB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/1.234, allocations: 23.03 kB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/1.236, allocations: 0.6509 MB / 1.134 GB, free: 27.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008158/1.245, allocations: 2.679 MB / 1.137 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/1.249, allocations: 0.7596 MB / 1.138 GB, free: 25.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/1.249, allocations: 19.61 kB / 1.138 GB, free: 25.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/1.251, allocations: 359.8 kB / 1.138 GB, free: 25.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 6.752e-06/1.251, allocations: 0 / 1.138 GB, free: 25.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.004598/1.256, allocations: 0.8584 MB / 1.139 GB, free: 25.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.256, allocations: 192.1 kB / 1.139 GB, free: 25.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.258, allocations: 0.6275 MB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/1.258, allocations: 47.44 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/1.259, allocations: 436.4 kB / 1.14 GB, free: 24.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/1.259, allocations: 219.8 kB / 1.14 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.26, allocations: 14.44 kB / 1.14 GB, free: 24.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002206/1.26, allocations: 328 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/1.261, allocations: 272.1 kB / 1.141 GB, free: 24.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/1.263, allocations: 409 kB / 1.141 GB, free: 24.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.265, allocations: 318.9 kB / 1.142 GB, free: 24.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.265, allocations: 0 / 1.142 GB, free: 24.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003922/1.269, allocations: 0.8138 MB / 1.142 GB, free: 23.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003822/1.269, allocations: 0.5602 MB / 1.143 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/1.269, allocations: 3.688 kB / 1.143 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/1.269, allocations: 3.844 kB / 1.143 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.271, allocations: 152.2 kB / 1.143 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/1.271, allocations: 7.906 kB / 1.143 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.273, allocations: 146.4 kB / 1.143 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.273, allocations: 25.73 kB / 1.143 GB, free: 23.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/1.273, allocations: 7.656 kB / 1.143 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002185/1.275, allocations: 0.5618 MB / 1.144 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.275, allocations: 0 / 1.144 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.275, allocations: 3.906 kB / 1.144 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.277, allocations: 107.2 kB / 1.144 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.277, allocations: 3.906 kB / 1.144 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.278, allocations: 122.6 kB / 1.144 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.278, allocations: 26.56 kB / 1.144 GB, free: 23.05 MB / 0.698 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 () * Number of clocked 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.0009365/1.279, allocations: 302.6 kB / 1.144 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/1.279, allocations: 85.56 kB / 1.144 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/1.28, allocations: 91.81 kB / 1.144 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.28, allocations: 7.719 kB / 1.144 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.28, allocations: 0 / 1.144 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.28, allocations: 3.984 kB / 1.144 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/1.285, allocations: 1.47 MB / 1.146 GB, free: 22.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.285, allocations: 0 / 1.146 GB, free: 22.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.287, allocations: 124.6 kB / 1.146 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.287, allocations: 3.969 kB / 1.146 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.287, allocations: 19.11 kB / 1.146 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/1.287, allocations: 7.75 kB / 1.146 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.287, allocations: 3.953 kB / 1.146 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004804/1.292, allocations: 1.053 MB / 1.147 GB, free: 21.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/1.292, allocations: 174.7 kB / 1.147 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/1.293, allocations: 19.34 kB / 1.147 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.294, allocations: 60.7 kB / 1.147 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.294, allocations: 31.17 kB / 1.147 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/1.294, allocations: 25.03 kB / 1.147 GB, free: 21.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001455/1.295, allocations: 0.4998 MB / 1.148 GB, free: 21.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.152e-06/1.295, allocations: 0 / 1.148 GB, free: 21.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001872/1.297, allocations: 305.4 kB / 1.148 GB, free: 21.41 MB / 0.698 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 () * Number of clocked 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.0055/1.303, allocations: 1.631 MB / 1.15 GB, free: 20.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004571/1.307, allocations: 1.053 MB / 1.151 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.308, allocations: 3.625 kB / 1.151 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.309, allocations: 303.9 kB / 1.151 GB, free: 20.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.311, allocations: 155.1 kB / 1.151 GB, free: 20.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/1.319, allocations: 3.349 MB / 1.154 GB, free: 17.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/1.32, allocations: 0.9986 MB / 1.155 GB, free: 16.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009775/1.321, allocations: 107.1 kB / 1.156 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009131/1.322, allocations: 351.1 kB / 1.156 GB, free: 16.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/1.322, allocations: 0 / 1.156 GB, free: 16.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/1.384, allocations: 15.65 MB / 1.171 GB, free: 3.328 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003355/1.384, allocations: 197.2 kB / 1.171 GB, free: 3.078 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/4.433, allocations: 4.062 kB / 1.171 GB, free: 3.074 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)