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.797/1.797, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001238/0.001238, allocations: 192.8 kB / 377.1 MB, free: 1.535 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.684/1.684, allocations: 205.4 MB / 0.6366 GB, free: 9.555 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.0008821/0.0008823, allocations: 89.27 kB / 0.7509 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2931, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8766/1.17, allocations: 140.8 MB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.17, allocations: 79.16 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02712/1.197, allocations: 10.62 MB / 1.136 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.944e-06/1.197, allocations: 0.6562 kB / 1.136 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.549e-05/1.197, allocations: 12 kB / 1.136 GB, free: 27.11 MB / 0.7292 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.00132/1.199, allocations: 0.8882 MB / 1.137 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.199, allocations: 15.95 kB / 1.137 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/1.199, allocations: 95.11 kB / 1.137 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.199, allocations: 73.73 kB / 1.137 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/1.2, allocations: 468.4 kB / 1.138 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/1.2, allocations: 43.33 kB / 1.138 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/1.2, allocations: 60.84 kB / 1.138 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/1.201, allocations: 496 kB / 1.139 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.201, allocations: 5.703 kB / 1.139 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/1.201, allocations: 25.22 kB / 1.139 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.201, allocations: 12 kB / 1.139 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/1.201, allocations: 361.6 kB / 1.139 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/1.204, allocations: 1.592 MB / 1.14 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/1.205, allocations: 0.9005 MB / 1.141 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/1.205, allocations: 8.609 kB / 1.141 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007591/1.205, allocations: 257.5 kB / 1.142 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 3.437e-06/1.205, allocations: 0 / 1.142 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.001206/1.207, allocations: 0.5591 MB / 1.142 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.207, allocations: 112.6 kB / 1.142 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/1.207, allocations: 353.7 kB / 1.143 GB, free: 21.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/1.207, allocations: 38.31 kB / 1.143 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/1.207, allocations: 263.8 kB / 1.143 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/1.207, allocations: 154.5 kB / 1.143 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/1.208, allocations: 12 kB / 1.143 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.208, allocations: 360.1 kB / 1.143 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/1.208, allocations: 193.8 kB / 1.144 GB, free: 20.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/1.208, allocations: 294.3 kB / 1.144 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/1.209, allocations: 267.9 kB / 1.144 GB, free: 19.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.209, allocations: 0 / 1.144 GB, free: 19.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009181/1.21, allocations: 0.6355 MB / 1.145 GB, free: 19.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/1.21, allocations: 0.6812 MB / 1.145 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.21, allocations: 0 / 1.145 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.21, allocations: 4 kB / 1.145 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/1.21, allocations: 91.98 kB / 1.145 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.21, allocations: 5.312 kB / 1.145 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/1.211, allocations: 134.6 kB / 1.146 GB, free: 18.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/1.211, allocations: 27.55 kB / 1.146 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/1.211, allocations: 4 kB / 1.146 GB, free: 18.21 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007161/1.212, allocations: 0.527 MB / 1.146 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.212, allocations: 1.359 kB / 1.146 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/1.212, allocations: 4 kB / 1.146 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/1.212, allocations: 79.52 kB / 1.146 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.212, allocations: 9.266 kB / 1.146 GB, free: 17.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/1.212, allocations: 111.5 kB / 1.146 GB, free: 17.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/1.212, allocations: 22.53 kB / 1.146 GB, free: 17.52 MB / 0.7292 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 () * Number of clocked 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.0002123/1.213, allocations: 260.6 kB / 1.147 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/1.213, allocations: 48.05 kB / 1.147 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.844e-05/1.213, allocations: 55.11 kB / 1.147 GB, free: 17.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.213, allocations: 4 kB / 1.147 GB, free: 17.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.213, allocations: 8.891 kB / 1.147 GB, free: 17.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.213, allocations: 3.625 kB / 1.147 GB, free: 17.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/1.214, allocations: 1.089 MB / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.214, allocations: 0.7031 kB / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/1.215, allocations: 78.3 kB / 1.148 GB, free: 16.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.215, allocations: 0 / 1.148 GB, free: 16.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/1.215, allocations: 13.78 kB / 1.148 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.215, allocations: 5.125 kB / 1.148 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.215, allocations: 1.344 kB / 1.148 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/1.216, allocations: 0.7164 MB / 1.149 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/1.216, allocations: 132.1 kB / 1.149 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/1.216, allocations: 12.7 kB / 1.149 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.216, allocations: 29.62 kB / 1.149 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/1.216, allocations: 26.8 kB / 1.149 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/1.216, allocations: 22.02 kB / 1.149 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002458/1.216, allocations: 276 kB / 1.149 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.62e-07/1.216, allocations: 0 / 1.149 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000552/1.217, allocations: 229.9 kB / 1.149 GB, free: 14.74 MB / 0.7292 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 () * Number of clocked 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.001175/1.218, allocations: 1.288 MB / 1.151 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001201/1.219, allocations: 0.9518 MB / 1.151 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.219, allocations: 0 / 1.151 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/1.22, allocations: 198.8 kB / 1.152 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/1.22, allocations: 91.67 kB / 1.152 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/1.222, allocations: 2.393 MB / 1.154 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/1.222, allocations: 0.8692 MB / 1.155 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002497/1.223, allocations: 58.47 kB / 1.155 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.223, allocations: 197.9 kB / 1.155 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/1.223, allocations: 0 / 1.155 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/1.248, allocations: 10.66 MB / 1.166 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/1.248, allocations: 194.5 kB / 1.166 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.744, allocations: 4 kB / 1.166 GB, free: 0.6953 MB / 0.7292 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)