Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.664/2.664, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001479/0.001479, allocations: 177.5 kB / 370.8 MB, free: 10.87 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.073/2.073, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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: 93.92 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007575/0.0007575, allocations: 17.97 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2543, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.987/1.241, allocations: 139.7 MB / 1.115 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.242, allocations: 78.84 kB / 1.115 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04139/1.283, allocations: 9.322 MB / 1.124 GB, free: 31.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.283, allocations: 0 / 1.124 GB, free: 31.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.229e-05/1.283, allocations: 12.81 kB / 1.124 GB, free: 31.04 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.0024/1.286, allocations: 0.8376 MB / 1.125 GB, free: 30.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.286, allocations: 11.86 kB / 1.125 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/1.286, allocations: 91.48 kB / 1.125 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/1.286, allocations: 65.88 kB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.288, allocations: 450.5 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/1.288, allocations: 42.06 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.288, allocations: 54.62 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.289, allocations: 471.4 kB / 1.126 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.289, allocations: 4 kB / 1.126 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/1.289, allocations: 17.47 kB / 1.126 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/1.289, allocations: 11.53 kB / 1.126 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.29, allocations: 344.5 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/1.297, allocations: 1.489 MB / 1.128 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/1.299, allocations: 0.8839 MB / 1.129 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/1.299, allocations: 12.41 kB / 1.129 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/1.3, allocations: 235.4 kB / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 7.114e-06/1.3, allocations: 0 / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.002722/1.303, allocations: 0.5151 MB / 1.129 GB, free: 28.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.303, allocations: 110.6 kB / 1.129 GB, free: 28.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.304, allocations: 346.9 kB / 1.13 GB, free: 28.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/1.305, allocations: 36.33 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/1.306, allocations: 258 kB / 1.13 GB, free: 28.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/1.306, allocations: 137.6 kB / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/1.307, allocations: 11.41 kB / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00045/1.307, allocations: 359.6 kB / 1.13 GB, free: 27.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.308, allocations: 165.8 kB / 1.131 GB, free: 27.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/1.309, allocations: 251 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/1.31, allocations: 209.1 kB / 1.131 GB, free: 27.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.31, allocations: 0 / 1.131 GB, free: 27.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001563/1.311, allocations: 0.5255 MB / 1.132 GB, free: 27.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002864/1.311, allocations: 0.5557 MB / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.311, allocations: 3.844 kB / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.312, allocations: 3.656 kB / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/1.312, allocations: 88.98 kB / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.312, allocations: 0 / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/1.313, allocations: 90.19 kB / 1.132 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/1.313, allocations: 21.5 kB / 1.132 GB, free: 27.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.313, allocations: 3.875 kB / 1.132 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/1.314, allocations: 417.5 kB / 1.133 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.314, allocations: 3.844 kB / 1.133 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/1.314, allocations: 160 / 1.133 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/1.315, allocations: 76.02 kB / 1.133 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.315, allocations: 3.844 kB / 1.133 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.316, allocations: 85.69 kB / 1.133 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/1.316, allocations: 23.36 kB / 1.133 GB, free: 26.97 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.0007576/1.317, allocations: 249.8 kB / 1.133 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.317, allocations: 46.66 kB / 1.133 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/1.318, allocations: 59.45 kB / 1.133 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.318, allocations: 3.906 kB / 1.133 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.318, allocations: 0 / 1.133 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.318, allocations: 3.953 kB / 1.133 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/1.323, allocations: 1.029 MB / 1.134 GB, free: 26.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.323, allocations: 4 kB / 1.134 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.324, allocations: 73.86 kB / 1.134 GB, free: 26.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.325, allocations: 0 / 1.134 GB, free: 26.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.325, allocations: 15.36 kB / 1.134 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/1.325, allocations: 0 / 1.134 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.325, allocations: 0 / 1.134 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003482/1.328, allocations: 0.6785 MB / 1.135 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/1.329, allocations: 129.8 kB / 1.135 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006022/1.329, allocations: 3.812 kB / 1.135 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.33, allocations: 38.81 kB / 1.135 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.331, allocations: 30.73 kB / 1.135 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.331, allocations: 10.31 kB / 1.135 GB, free: 25.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007694/1.332, allocations: 276.3 kB / 1.135 GB, free: 25.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.71e-07/1.332, allocations: 3.875 kB / 1.135 GB, free: 25.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001606/1.333, allocations: 195.2 kB / 1.136 GB, free: 25.67 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.004282/1.338, allocations: 1.246 MB / 1.137 GB, free: 24.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003749/1.342, allocations: 0.705 MB / 1.138 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.342, allocations: 0 / 1.138 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/1.343, allocations: 187.8 kB / 1.138 GB, free: 24.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.345, allocations: 89.73 kB / 1.138 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/1.351, allocations: 2.275 MB / 1.14 GB, free: 22.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/1.352, allocations: 0.8588 MB / 1.141 GB, free: 22.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006764/1.353, allocations: 53.72 kB / 1.141 GB, free: 22.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/1.354, allocations: 184.9 kB / 1.141 GB, free: 22 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.354, allocations: 0 / 1.141 GB, free: 22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/1.4, allocations: 9.298 MB / 1.15 GB, free: 17.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/1.4, allocations: 191.6 kB / 1.15 GB, free: 17.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/4.23, allocations: 0 / 1.15 GB, free: 17.44 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)