Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001093/0.001093, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.763/1.763, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008303/0.0008305, allocations: 85.91 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.315e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6377, allocations: 116.3 MB / 0.9734 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.8211, allocations: 140.1 MB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.8214, allocations: 77.23 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02532/0.8467, allocations: 9.244 MB / 1.119 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8468, allocations: 0 / 1.119 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.8468, allocations: 8 kB / 1.119 GB, free: 0.7734 MB / 0.7136 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.001077/0.8479, allocations: 0.7563 MB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8479, allocations: 12.03 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.8481, allocations: 68.8 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.8489, allocations: 444.6 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.8489, allocations: 13.59 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.849, allocations: 35.94 kB / 1.121 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004655/0.8494, allocations: 262.6 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.8501, allocations: 377.1 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8501, allocations: 0 / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.8501, allocations: 7.984 kB / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.8501, allocations: 12 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.8521, allocations: 1.388 MB / 1.123 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.8528, allocations: 0.7882 MB / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.853, allocations: 159.4 kB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.8531, allocations: 4 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/0.8534, allocations: 203 kB / 1.124 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.8534, allocations: 0 / 1.124 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.000497/0.8539, allocations: 312.9 kB / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.854, allocations: 110.8 kB / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.8542, allocations: 286.4 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.8543, allocations: 25.7 kB / 1.124 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.8545, allocations: 262.5 kB / 1.125 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.8546, allocations: 134 kB / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.8546, allocations: 0 / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8547, allocations: 351.8 kB / 1.125 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.855, allocations: 124.9 kB / 1.125 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.8552, allocations: 212.4 kB / 1.125 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.8556, allocations: 148.7 kB / 1.126 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8556, allocations: 8 kB / 1.126 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007233/0.8563, allocations: 410.7 kB / 1.126 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.8566, allocations: 0.5561 MB / 1.126 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8566, allocations: 7.125 kB / 1.126 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.8566, allocations: 3.953 kB / 1.126 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.857, allocations: 95.83 kB / 1.127 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.857, allocations: 4 kB / 1.127 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.8574, allocations: 75.69 kB / 1.127 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.8574, allocations: 20 kB / 1.127 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.8575, allocations: 9.5 kB / 1.127 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006151/0.8581, allocations: 334.5 kB / 1.127 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.8581, allocations: 0 / 1.127 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.8581, allocations: 4 kB / 1.127 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.8584, allocations: 80 kB / 1.127 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.8584, allocations: 4 kB / 1.127 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.8587, allocations: 63.64 kB / 1.127 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.8588, allocations: 20 kB / 1.127 GB, free: 8.266 MB / 0.7292 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 () * 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.000116/0.8589, allocations: 127.1 kB / 1.127 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004167/0.8593, allocations: 305.3 kB / 1.128 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.8594, allocations: 35.53 kB / 1.128 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-05/0.8595, allocations: 48.56 kB / 1.128 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8595, allocations: 4 kB / 1.128 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8595, allocations: 0 / 1.128 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8595, allocations: 0 / 1.128 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.8606, allocations: 0.8777 MB / 1.128 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.8606, allocations: 0 / 1.128 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.861, allocations: 75.89 kB / 1.129 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.861, allocations: 4 kB / 1.129 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.861, allocations: 0 / 1.129 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.861, allocations: 5.875 kB / 1.129 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.861, allocations: 3.953 kB / 1.129 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.8617, allocations: 0.5559 MB / 1.129 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.8618, allocations: 132.5 kB / 1.129 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.8619, allocations: 0 / 1.129 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.8621, allocations: 19.98 kB / 1.129 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.8621, allocations: 31.92 kB / 1.129 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.8622, allocations: 11.98 kB / 1.129 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002277/0.8624, allocations: 220.6 kB / 1.13 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8624, allocations: 0 / 1.13 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005342/0.8629, allocations: 180.6 kB / 1.13 GB, free: 5.562 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete 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.001103/0.8641, allocations: 1.11 MB / 1.131 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008623/0.8649, allocations: 0.636 MB / 1.131 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8649, allocations: 0 / 1.131 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.8651, allocations: 147.9 kB / 1.132 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.8656, allocations: 69.86 kB / 1.132 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.867, allocations: 0.7274 MB / 1.132 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.8674, allocations: 0.863 MB / 1.133 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.8677, allocations: 70.05 kB / 1.133 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.8679, allocations: 175.4 kB / 1.133 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.8679, allocations: 0 / 1.133 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.8972, allocations: 8.867 MB / 1.142 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.8975, allocations: 148.1 kB / 1.142 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.191, allocations: 4 kB / 1.142 GB, free: 8.785 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)