Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.569/1.569, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009062/0.0009063, allocations: 180.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 0.6626 GB, free: 4.297 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007541, allocations: 98.89 kB / 0.7808 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.000374, allocations: 20 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6224, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.7994, allocations: 142.2 MB / 1.165 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.7997, allocations: 78.34 kB / 1.165 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01832/0.818, allocations: 6.565 MB / 1.172 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8181, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.8181, allocations: 8 kB / 1.172 GB, free: 13.11 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001389/0.8195, allocations: 0.6732 MB / 1.172 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8196, allocations: 8.031 kB / 1.172 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.8197, allocations: 48.38 kB / 1.172 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.8205, allocations: 389.3 kB / 1.173 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.8206, allocations: 26.95 kB / 1.173 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.8207, allocations: 40.31 kB / 1.173 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.8214, allocations: 362.5 kB / 1.173 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.8214, allocations: 3.938 kB / 1.173 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.8215, allocations: 16 kB / 1.173 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.8215, allocations: 8 kB / 1.173 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.8221, allocations: 270.4 kB / 1.173 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.8241, allocations: 1.212 MB / 1.175 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.8248, allocations: 283.5 kB / 1.175 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.825, allocations: 122 kB / 1.175 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.8251, allocations: 7.984 kB / 1.175 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.8254, allocations: 174.1 kB / 1.175 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.8255, allocations: 0 / 1.175 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.000818/0.8263, allocations: 347 kB / 1.176 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.8264, allocations: 136.5 kB / 1.176 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.8269, allocations: 377.7 kB / 1.176 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.8269, allocations: 33.7 kB / 1.176 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.8271, allocations: 228.2 kB / 1.176 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.8272, allocations: 71 kB / 1.176 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.8272, allocations: 4.844 kB / 1.176 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8274, allocations: 346.8 kB / 1.177 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.8277, allocations: 108 kB / 1.177 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.8279, allocations: 176.9 kB / 1.177 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.8284, allocations: 254.3 kB / 1.177 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8284, allocations: 0 / 1.177 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006451/0.8291, allocations: 332.8 kB / 1.177 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.8292, allocations: 120.4 kB / 1.178 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8292, allocations: 9.156 kB / 1.178 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8292, allocations: 1.688 kB / 1.178 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.8295, allocations: 59.91 kB / 1.178 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8295, allocations: 4 kB / 1.178 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.8297, allocations: 60.25 kB / 1.178 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.8298, allocations: 15.94 kB / 1.178 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8298, allocations: 4 kB / 1.178 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003274/0.8301, allocations: 202 kB / 1.178 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.8301, allocations: 0.7812 kB / 1.178 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-06/0.8301, allocations: 4 kB / 1.178 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.8303, allocations: 53.67 kB / 1.178 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.8303, allocations: 3.938 kB / 1.178 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.8305, allocations: 44.52 kB / 1.178 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.8305, allocations: 8 kB / 1.178 GB, free: 6.273 MB / 0.7448 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 () * Number of clocked 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.0002443/0.8308, allocations: 225.6 kB / 1.178 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.8309, allocations: 39.53 kB / 1.178 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/0.831, allocations: 43.16 kB / 1.178 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.831, allocations: 7.938 kB / 1.178 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.831, allocations: 0 / 1.178 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.831, allocations: 0 / 1.178 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.8323, allocations: 0.9137 MB / 1.179 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.8324, allocations: 4 kB / 1.179 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.8326, allocations: 51.03 kB / 1.179 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.8326, allocations: 8 kB / 1.179 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.8326, allocations: 8 kB / 1.179 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.8326, allocations: 7.984 kB / 1.179 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8327, allocations: 3.938 kB / 1.179 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.8335, allocations: 0.5936 MB / 1.18 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.8336, allocations: 120.6 kB / 1.18 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.8337, allocations: 8 kB / 1.18 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.8339, allocations: 23.98 kB / 1.18 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.8339, allocations: 19.92 kB / 1.18 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.834, allocations: 11.98 kB / 1.18 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003129/0.8343, allocations: 271.2 kB / 1.18 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8343, allocations: 0 / 1.18 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004949/0.8348, allocations: 111.7 kB / 1.18 GB, free: 3.68 MB / 0.7448 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 () * Number of clocked 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.0001841/0.835, allocations: 124.2 kB / 1.181 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.8357, allocations: 356.4 kB / 1.181 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8357, allocations: 0 / 1.181 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.8359, allocations: 124.6 kB / 1.181 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.8366, allocations: 69.53 kB / 1.181 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.8381, allocations: 0.8233 MB / 1.182 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.8386, allocations: 0.796 MB / 1.183 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.8388, allocations: 45.61 kB / 1.183 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.8389, allocations: 31.42 kB / 1.183 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.8389, allocations: 0 / 1.183 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.007586/0.8465, allocations: 3.135 MB / 1.186 GB, free: 14.23 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)