Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 106.1 kB / 16.29 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 184.6 kB / 17.22 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.934/1.934, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.03 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2923, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.006698/0.299, allocations: 3.582 MB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4932/0.7923, allocations: 2.093 MB / 0.7896 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.7928, allocations: 21.84 kB / 0.7897 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.7933, allocations: 173.2 kB / 0.7898 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.7938, allocations: 159.2 kB / 0.79 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.7947, allocations: 494.4 kB / 0.7904 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.7959, allocations: 1.239 MB / 0.7917 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.7966, allocations: 0.5658 MB / 0.7922 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.7969, allocations: 446.1 kB / 0.7926 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.7973, allocations: 480 kB / 0.7931 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.7975, allocations: 129.9 kB / 0.7932 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.7976, allocations: 140.3 kB / 0.7934 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.7978, allocations: 246.9 kB / 0.7936 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.7981, allocations: 0.5061 MB / 0.7941 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009948/0.7991, allocations: 1.44 MB / 0.7955 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7991, allocations: 3.094 kB / 0.7955 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7991, allocations: 0 / 0.7955 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.7992, allocations: 0 / 0.7955 GB, free: 44.53 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002246/0.8014, allocations: 1.408 MB / 0.7969 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8015, allocations: 10.5 kB / 0.7969 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.8016, allocations: 118.4 kB / 0.797 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.8025, allocations: 0.6383 MB / 0.7976 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.8026, allocations: 68.59 kB / 0.7977 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.8027, allocations: 91.11 kB / 0.7978 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.8041, allocations: 0.8156 MB / 0.7986 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.8041, allocations: 192 / 0.7986 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.8042, allocations: 36.53 kB / 0.7986 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.8042, allocations: 22.42 kB / 0.7986 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.8055, allocations: 0.6048 MB / 0.7992 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.8099, allocations: 2.788 MB / 0.8019 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.8116, allocations: 0.6656 MB / 0.8026 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.8123, allocations: 336.2 kB / 0.8029 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.8124, allocations: 14.83 kB / 0.8029 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009341/0.8133, allocations: 323.3 kB / 0.8032 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 3.136e-06/0.8133, allocations: 0 / 0.8032 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002191/0.8155, allocations: 0.7635 MB / 0.804 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.8157, allocations: 189.6 kB / 0.8041 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.8171, allocations: 0.7054 MB / 0.8048 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.8171, allocations: 40.52 kB / 0.8049 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.8176, allocations: 460.8 kB / 0.8053 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8178, allocations: 197.1 kB / 0.8055 GB, free: 39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.818, allocations: 140.9 kB / 0.8056 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8182, allocations: 333.4 kB / 0.806 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.8189, allocations: 266.7 kB / 0.8062 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.8197, allocations: 445.2 kB / 0.8066 GB, free: 38.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.8209, allocations: 0.6225 MB / 0.8072 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8209, allocations: 5.156 kB / 0.8072 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00194/0.8229, allocations: 0.8133 MB / 0.808 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.823, allocations: 40.28 kB / 0.8081 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.823, allocations: 7.938 kB / 0.8081 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.069e-05/0.823, allocations: 6 kB / 0.8081 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.8238, allocations: 141.9 kB / 0.8082 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.8238, allocations: 10.12 kB / 0.8082 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.8245, allocations: 132.6 kB / 0.8084 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.8246, allocations: 27.91 kB / 0.8084 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006555/0.8252, allocations: 363.9 kB / 0.8087 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000536/0.8258, allocations: 378.1 kB / 0.8091 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007752/0.8265, allocations: 0.5197 MB / 0.8096 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.8266, allocations: 1.062 kB / 0.8096 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001221/0.8278, allocations: 0.687 MB / 0.8103 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.8278, allocations: 41.09 kB / 0.8103 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8278, allocations: 4.391 kB / 0.8103 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8279, allocations: 13.06 kB / 0.8103 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.8283, allocations: 120 kB / 0.8104 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.8284, allocations: 6.672 kB / 0.8105 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.8289, allocations: 108.4 kB / 0.8106 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.8289, allocations: 29.72 kB / 0.8106 GB, free: 36.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.8292, allocations: 227.5 kB / 0.8108 GB, free: 36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.8293, allocations: 86.83 kB / 0.8109 GB, free: 35.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.8295, allocations: 83.31 kB / 0.811 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8295, allocations: 6.062 kB / 0.811 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.8295, allocations: 0 / 0.811 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8295, allocations: 4.141 kB / 0.811 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.8306, allocations: 0.7771 MB / 0.8117 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8306, allocations: 0 / 0.8117 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.8311, allocations: 118.6 kB / 0.8118 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.8311, allocations: 4.703 kB / 0.8119 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.8312, allocations: 16.69 kB / 0.8119 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.8312, allocations: 2.406 kB / 0.8119 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8312, allocations: 0.7969 kB / 0.8119 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.833, allocations: 0.8843 MB / 0.8127 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.8332, allocations: 163.2 kB / 0.8129 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.8333, allocations: 16.16 kB / 0.8129 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.8336, allocations: 47.77 kB / 0.813 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8337, allocations: 32.28 kB / 0.813 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.8338, allocations: 17.69 kB / 0.813 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007982/0.8346, allocations: 0.4909 MB / 0.8135 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8346, allocations: 0 / 0.8135 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009987/0.8356, allocations: 303.8 kB / 0.8138 GB, free: 34.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.8359, allocations: 127.2 kB / 0.8139 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.8379, allocations: 1.038 MB / 0.8149 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.8379, allocations: 1.156 kB / 0.8149 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.8385, allocations: 273.5 kB / 0.8152 GB, free: 34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.8393, allocations: 181.3 kB / 0.8153 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.8417, allocations: 1.417 MB / 0.8167 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.8423, allocations: 0.9819 MB / 0.8177 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004419/0.8427, allocations: 98.17 kB / 0.8178 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.8429, allocations: 60.02 kB / 0.8178 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of SimCode: time 1.583e-06/0.8429, allocations: 1.781 kB / 0.8178 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.02766/0.8706, allocations: 9.25 MB / 0.8269 GB, free: 31.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)