Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001069/0.001069, allocations: 164.9 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.822/1.822, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008775/0.0008775, allocations: 91.48 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.45e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.701, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.8827, allocations: 139.7 MB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.883, allocations: 77.12 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03449/0.9175, allocations: 13.64 MB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9176, allocations: 0 / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.645e-05/0.9176, allocations: 24 kB / 1.123 GB, free: 12.79 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001638/0.9193, allocations: 1.029 MB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9193, allocations: 8.031 kB / 1.124 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.9195, allocations: 114.7 kB / 1.124 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.9204, allocations: 0.5938 MB / 1.125 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.9205, allocations: 28 kB / 1.125 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.9206, allocations: 63.91 kB / 1.125 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008389/0.9214, allocations: 484 kB / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.9226, allocations: 0.6637 MB / 1.126 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.9226, allocations: 4 kB / 1.126 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.9227, allocations: 0 / 1.126 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.9227, allocations: 20 kB / 1.126 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.926, allocations: 2.333 MB / 1.128 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.9271, allocations: 1.195 MB / 1.13 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.9274, allocations: 286.6 kB / 1.13 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.9275, allocations: 8.562 kB / 1.13 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.928, allocations: 275.5 kB / 1.13 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 1.963e-06/0.928, allocations: 0 / 1.13 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0007635/0.9287, allocations: 470.2 kB / 1.131 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.9288, allocations: 170.8 kB / 1.131 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.9293, allocations: 414.2 kB / 1.131 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.9294, allocations: 29.7 kB / 1.131 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.9297, allocations: 412.1 kB / 1.132 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.9299, allocations: 228.4 kB / 1.132 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.9299, allocations: 0 / 1.132 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.9301, allocations: 378.8 kB / 1.132 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.9303, allocations: 165.6 kB / 1.132 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.9307, allocations: 255.5 kB / 1.132 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.931, allocations: 200.5 kB / 1.133 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.931, allocations: 4 kB / 1.133 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000727/0.9317, allocations: 0.5111 MB / 1.133 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/0.9319, allocations: 185.1 kB / 1.133 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.9319, allocations: 0 / 1.133 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9319, allocations: 4 kB / 1.133 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.9325, allocations: 147.8 kB / 1.133 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.9325, allocations: 4 kB / 1.134 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.9329, allocations: 79.55 kB / 1.134 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.9329, allocations: 16 kB / 1.134 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.9329, allocations: 9.031 kB / 1.134 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005862/0.9335, allocations: 394.6 kB / 1.134 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.9335, allocations: 4 kB / 1.134 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.9335, allocations: 0 / 1.134 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.934, allocations: 123.8 kB / 1.134 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.934, allocations: 8.031 kB / 1.134 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.9342, allocations: 61.88 kB / 1.134 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.9343, allocations: 16 kB / 1.134 GB, free: 1.051 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001381/0.9344, allocations: 116.8 kB / 1.134 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.9345, allocations: 67.25 kB / 1.134 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.9347, allocations: 78.48 kB / 1.134 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9347, allocations: 4 kB / 1.134 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9347, allocations: 0 / 1.134 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9347, allocations: 7.984 kB / 1.134 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.9367, allocations: 1.34 MB / 1.136 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.9367, allocations: 0 / 1.136 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.9372, allocations: 135.9 kB / 1.136 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.9373, allocations: 0 / 1.136 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.9373, allocations: 4 kB / 1.136 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9373, allocations: 4 kB / 1.136 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9373, allocations: 7.938 kB / 1.136 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.9384, allocations: 0.8116 MB / 1.137 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.9385, allocations: 148.1 kB / 1.137 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.9386, allocations: 1.406 kB / 1.137 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.9389, allocations: 49.95 kB / 1.137 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.939, allocations: 36.45 kB / 1.137 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.939, allocations: 23.98 kB / 1.137 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003357/0.9394, allocations: 315 kB / 1.137 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9394, allocations: 0 / 1.137 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006411/0.94, allocations: 270.3 kB / 1.137 GB, free: 13.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.0002398/0.9403, allocations: 128.8 kB / 1.138 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009951/0.9413, allocations: 0.6766 MB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9413, allocations: 4 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.9416, allocations: 238 kB / 1.139 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.9422, allocations: 115.7 kB / 1.139 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.944, allocations: 1.097 MB / 1.14 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.9446, allocations: 0.9984 MB / 1.141 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004577/0.9451, allocations: 114.5 kB / 1.141 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.9452, allocations: 47.42 kB / 1.141 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.9452, allocations: 0 / 1.141 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.01284/0.9581, allocations: 6.75 MB / 1.147 GB, free: 3.5 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)