Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.722/1.722, allocations: 289.7 MB / 302.2 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.001061/0.001061, allocations: 186.3 kB / 371.6 MB, free: 3.391 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.915/1.915, 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.001005/0.001005, allocations: 92.3 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.998e-05, allocations: 8 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3483, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.815/1.163, allocations: 140.7 MB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.164, allocations: 78.91 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.026/1.19, allocations: 10.61 MB / 1.128 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/1.19, allocations: 0 / 1.128 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.098e-05/1.19, allocations: 12 kB / 1.128 GB, free: 37.81 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001048/1.191, allocations: 0.8062 MB / 1.129 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.191, allocations: 12.03 kB / 1.129 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.543e-05/1.191, allocations: 87.41 kB / 1.129 GB, free: 37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/1.191, allocations: 81.56 kB / 1.129 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/1.192, allocations: 463.9 kB / 1.129 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/1.192, allocations: 41.25 kB / 1.129 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/1.192, allocations: 60.5 kB / 1.129 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/1.193, allocations: 462.9 kB / 1.13 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.193, allocations: 4 kB / 1.13 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/1.193, allocations: 25.12 kB / 1.13 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/1.193, allocations: 12.56 kB / 1.13 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/1.194, allocations: 296.6 kB / 1.13 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/1.196, allocations: 1.59 MB / 1.132 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/1.196, allocations: 0.8271 MB / 1.132 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/1.197, allocations: 186.9 kB / 1.133 GB, free: 34.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/1.197, allocations: 11.38 kB / 1.133 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/1.197, allocations: 235.2 kB / 1.133 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/1.197, allocations: 0 / 1.133 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0006083/1.198, allocations: 364 kB / 1.133 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/1.198, allocations: 114.8 kB / 1.133 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/1.198, allocations: 343.7 kB / 1.134 GB, free: 33.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/1.198, allocations: 44.83 kB / 1.134 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.198, allocations: 263.5 kB / 1.134 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/1.198, allocations: 153.9 kB / 1.134 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/1.199, allocations: 14.38 kB / 1.134 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.199, allocations: 354.2 kB / 1.134 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/1.199, allocations: 166.2 kB / 1.135 GB, free: 32.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/1.199, allocations: 263.7 kB / 1.135 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/1.2, allocations: 233.8 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.2, allocations: 0 / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009081/1.201, allocations: 0.5841 MB / 1.136 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/1.201, allocations: 0.6755 MB / 1.136 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.201, allocations: 4.625 kB / 1.136 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/1.201, allocations: 4 kB / 1.136 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/1.201, allocations: 89.73 kB / 1.136 GB, free: 31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.201, allocations: 0 / 1.136 GB, free: 31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/1.202, allocations: 126.4 kB / 1.136 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/1.202, allocations: 27.5 kB / 1.137 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/1.202, allocations: 11.88 kB / 1.137 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000779/1.203, allocations: 0.5187 MB / 1.137 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/1.203, allocations: 0 / 1.137 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-06/1.203, allocations: 7.562 kB / 1.137 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/1.203, allocations: 81.05 kB / 1.137 GB, free: 30.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.203, allocations: 4 kB / 1.137 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/1.203, allocations: 116.3 kB / 1.137 GB, free: 30.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.204, allocations: 27.48 kB / 1.137 GB, free: 30.35 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001247/1.204, allocations: 136.6 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/1.204, allocations: 47.44 kB / 1.137 GB, free: 30.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/1.204, allocations: 58.88 kB / 1.137 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.204, allocations: 4 kB / 1.137 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.204, allocations: 3.953 kB / 1.138 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.204, allocations: 0 / 1.138 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.205, allocations: 1.033 MB / 1.139 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.205, allocations: 0 / 1.139 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/1.205, allocations: 81.38 kB / 1.139 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.205, allocations: 4 kB / 1.139 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/1.205, allocations: 16.95 kB / 1.139 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.206, allocations: 0 / 1.139 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.206, allocations: 0.8438 kB / 1.139 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/1.206, allocations: 0.6319 MB / 1.139 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/1.206, allocations: 127.6 kB / 1.139 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/1.206, allocations: 11.02 kB / 1.139 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.207, allocations: 29.33 kB / 1.139 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/1.207, allocations: 30.78 kB / 1.139 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/1.207, allocations: 15.75 kB / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002777/1.207, allocations: 279.5 kB / 1.14 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.207, allocations: 0 / 1.14 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000575/1.208, allocations: 223.5 kB / 1.14 GB, free: 28.38 MB / 0.7448 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001017/1.209, allocations: 1.211 MB / 1.141 GB, free: 27.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009929/1.21, allocations: 0.9018 MB / 1.142 GB, free: 26.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.21, allocations: 4 kB / 1.142 GB, free: 26.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/1.21, allocations: 167.1 kB / 1.142 GB, free: 26.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/1.21, allocations: 98.92 kB / 1.142 GB, free: 26.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.212, allocations: 0.8094 MB / 1.143 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.212, allocations: 0.8754 MB / 1.144 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003018/1.212, allocations: 80.31 kB / 1.144 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/1.213, allocations: 193.2 kB / 1.144 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/1.213, allocations: 4 kB / 1.144 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/1.243, allocations: 11.42 MB / 1.155 GB, free: 18.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.243, allocations: 170.5 kB / 1.155 GB, free: 18.08 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.557, allocations: 0 / 1.155 GB, free: 18.08 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)