Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.77/1.77, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001149/0.001149, allocations: 181 kB / 371.8 MB, free: 10.31 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.837/1.837, allocations: 205.4 MB / 0.6305 GB, free: 10.08 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.0009443/0.0009442, allocations: 106.5 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 17.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.745/0.9744, allocations: 139.8 MB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9747, allocations: 82.77 kB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04239/1.017, allocations: 9.317 MB / 1.125 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.017, allocations: 0 / 1.125 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.055e-05/1.017, allocations: 11.53 kB / 1.125 GB, free: 31.54 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001872/1.019, allocations: 0.8375 MB / 1.126 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/1.019, allocations: 11.67 kB / 1.126 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/1.019, allocations: 90.14 kB / 1.126 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/1.02, allocations: 66.09 kB / 1.126 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/1.02, allocations: 446.8 kB / 1.127 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.02, allocations: 41.75 kB / 1.127 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/1.02, allocations: 51.91 kB / 1.127 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/1.021, allocations: 478.8 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.021, allocations: 0 / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/1.021, allocations: 19.94 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.021, allocations: 11.31 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/1.022, allocations: 342.7 kB / 1.128 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/1.024, allocations: 1.498 MB / 1.129 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/1.025, allocations: 0.8826 MB / 1.13 GB, free: 28.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/1.025, allocations: 3.906 kB / 1.13 GB, free: 28.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/1.025, allocations: 240 kB / 1.13 GB, free: 28.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/1.025, allocations: 0 / 1.13 GB, free: 28.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.0009008/1.026, allocations: 0.5095 MB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.026, allocations: 110.6 kB / 1.131 GB, free: 28.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/1.027, allocations: 350 kB / 1.131 GB, free: 28.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/1.027, allocations: 40.84 kB / 1.131 GB, free: 28.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/1.027, allocations: 252.8 kB / 1.131 GB, free: 28.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/1.027, allocations: 145.9 kB / 1.131 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/1.027, allocations: 10.03 kB / 1.131 GB, free: 28.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.027, allocations: 354.3 kB / 1.132 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/1.027, allocations: 168.2 kB / 1.132 GB, free: 27.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/1.028, allocations: 248.6 kB / 1.132 GB, free: 27.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/1.028, allocations: 209.8 kB / 1.132 GB, free: 27.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.028, allocations: 0 / 1.132 GB, free: 27.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007774/1.029, allocations: 0.5266 MB / 1.133 GB, free: 27.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/1.029, allocations: 0.5614 MB / 1.133 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.029, allocations: 0 / 1.133 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.029, allocations: 3.812 kB / 1.133 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/1.029, allocations: 84.33 kB / 1.134 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.03, allocations: 7.812 kB / 1.134 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/1.03, allocations: 84.52 kB / 1.134 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/1.03, allocations: 27.17 kB / 1.134 GB, free: 26.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/1.03, allocations: 0 / 1.134 GB, free: 26.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000525/1.03, allocations: 420 kB / 1.134 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/1.031, allocations: 0 / 1.134 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/1.031, allocations: 7.812 kB / 1.134 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.031, allocations: 73.31 kB / 1.134 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/1.031, allocations: 3.844 kB / 1.134 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/1.031, allocations: 78.45 kB / 1.134 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/1.031, allocations: 18.58 kB / 1.134 GB, free: 26.59 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 (50): * Single equations (assignments): 49 * 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.00028/1.031, allocations: 253.4 kB / 1.134 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/1.031, allocations: 50.47 kB / 1.135 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.637e-05/1.032, allocations: 59.36 kB / 1.135 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.032, allocations: 3.969 kB / 1.135 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.032, allocations: 3.938 kB / 1.135 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.032, allocations: 0 / 1.135 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/1.033, allocations: 1.035 MB / 1.136 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.033, allocations: 0 / 1.136 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/1.033, allocations: 76.83 kB / 1.136 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/1.033, allocations: 3.906 kB / 1.136 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/1.033, allocations: 10.56 kB / 1.136 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.033, allocations: 3.953 kB / 1.136 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.033, allocations: 3.938 kB / 1.136 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/1.034, allocations: 0.6719 MB / 1.136 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/1.034, allocations: 130.8 kB / 1.136 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/1.034, allocations: 11.53 kB / 1.136 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.034, allocations: 35.23 kB / 1.137 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/1.035, allocations: 31.03 kB / 1.137 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.035, allocations: 7.719 kB / 1.137 GB, free: 25.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002637/1.035, allocations: 279.9 kB / 1.137 GB, free: 25.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.035, allocations: 0 / 1.137 GB, free: 25.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00056/1.035, allocations: 196.6 kB / 1.137 GB, free: 25.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * 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 (43): * Single equations (assignments): 42 * 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.001244/1.037, allocations: 1.242 MB / 1.138 GB, free: 24.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.038, allocations: 0.7122 MB / 1.139 GB, free: 24.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.038, allocations: 0.625 kB / 1.139 GB, free: 24.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/1.038, allocations: 186 kB / 1.139 GB, free: 24.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/1.039, allocations: 91.62 kB / 1.139 GB, free: 24.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/1.041, allocations: 2.275 MB / 1.141 GB, free: 22.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/1.041, allocations: 0.858 MB / 1.142 GB, free: 21.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002288/1.041, allocations: 57.25 kB / 1.142 GB, free: 21.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/1.042, allocations: 189.5 kB / 1.142 GB, free: 21.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.042, allocations: 0 / 1.142 GB, free: 21.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.064, allocations: 9.302 MB / 1.152 GB, free: 17.31 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.065, allocations: 198.9 kB / 1.152 GB, free: 17.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.25, allocations: 0 / 1.152 GB, free: 17.07 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)