Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.632/2.632, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.002058/0.002058, allocations: 188.8 kB / 360.6 MB, free: 7.262 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.146/2.146, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001066/0.001066, allocations: 94.23 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.453e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8322, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/1.083, allocations: 138.1 MB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.083, allocations: 71.95 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02866/1.112, allocations: 6.486 MB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/1.112, allocations: 1.406 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.409e-05/1.112, allocations: 8 kB / 1.105 GB, free: 11.87 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00129/1.113, allocations: 0.6085 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.113, allocations: 8.031 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/1.113, allocations: 47.44 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/1.114, allocations: 378.8 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/1.114, allocations: 12 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/1.115, allocations: 20 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006021/1.115, allocations: 195 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/1.116, allocations: 282.3 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/1.116, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/1.116, allocations: 7.922 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/1.116, allocations: 8 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/1.119, allocations: 1.116 MB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/1.119, allocations: 202.3 kB / 1.107 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/1.119, allocations: 85.23 kB / 1.108 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/1.12, allocations: 4.188 kB / 1.108 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/1.12, allocations: 134.6 kB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/1.12, allocations: 0 / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.000551/1.12, allocations: 204.4 kB / 1.108 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/1.121, allocations: 132.5 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/1.121, allocations: 265 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/1.121, allocations: 25.7 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.121, allocations: 224.3 kB / 1.108 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.868e-05/1.121, allocations: 74.91 kB / 1.109 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/1.121, allocations: 0 / 1.109 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.122, allocations: 334.8 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/1.122, allocations: 83.98 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/1.122, allocations: 139.6 kB / 1.109 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/1.122, allocations: 76.92 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.122, allocations: 4 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006264/1.123, allocations: 258.8 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/1.123, allocations: 451.4 kB / 1.11 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.123, allocations: 0 / 1.11 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.123, allocations: 7.938 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/1.124, allocations: 59.97 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.124, allocations: 7.922 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/1.124, allocations: 39.83 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.124, allocations: 13.75 kB / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/1.124, allocations: 4 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005007/1.125, allocations: 171.8 kB / 1.11 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.125, allocations: 0 / 1.11 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/1.125, allocations: 8.094 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.125, allocations: 47.92 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/1.125, allocations: 4 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/1.125, allocations: 23.83 kB / 1.11 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/1.125, allocations: 8 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.000157/1.126, allocations: 120.7 kB / 1.11 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005021/1.126, allocations: 190.5 kB / 1.111 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/1.126, allocations: 31.62 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.126, allocations: 34.86 kB / 1.111 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.126, allocations: 0 / 1.111 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.126, allocations: 7.953 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.126, allocations: 3.984 kB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/1.128, allocations: 0.7737 MB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.128, allocations: 4.047 kB / 1.111 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/1.129, allocations: 63.78 kB / 1.111 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/1.129, allocations: 7.984 kB / 1.111 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/1.129, allocations: 4 kB / 1.111 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.129, allocations: 5.062 kB / 1.111 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.129, allocations: 4 kB / 1.111 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/1.13, allocations: 0.5902 MB / 1.112 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/1.13, allocations: 108.7 kB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/1.13, allocations: 8.031 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/1.13, allocations: 19.98 kB / 1.112 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.13, allocations: 19.88 kB / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/1.13, allocations: 13.22 kB / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003121/1.131, allocations: 204.6 kB / 1.112 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.131, allocations: 0 / 1.112 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000748/1.131, allocations: 111.4 kB / 1.112 GB, free: 3.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001471/1.133, allocations: 1.68 MB / 1.114 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008418/1.134, allocations: 296.7 kB / 1.114 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.134, allocations: 0 / 1.114 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/1.134, allocations: 84.56 kB / 1.114 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/1.135, allocations: 60.55 kB / 1.115 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/1.137, allocations: 0.5866 MB / 1.115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/1.137, allocations: 0.8035 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004281/1.138, allocations: 47.27 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/1.138, allocations: 131.3 kB / 1.116 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/1.138, allocations: 0 / 1.116 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/1.19, allocations: 5.726 MB / 1.122 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/1.19, allocations: 167.6 kB / 1.122 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.89, allocations: 0 / 1.122 GB, free: 9.801 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)