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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 101.4 kB / 16.27 MB, free: 5.953 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.001348/0.001348, allocations: 186.1 kB / 17.2 MB, free: 5.59 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.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.881/1.881, 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.001781/0.001781, allocations: 75.02 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2783, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.005775/0.2841, allocations: 3.295 MB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4397/0.7238, allocations: 1.711 MB / 0.7889 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.7243, allocations: 17.88 kB / 0.7889 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.7247, allocations: 154 kB / 0.7891 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.7252, allocations: 146.6 kB / 0.7892 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.7256, allocations: 337.2 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007456/0.7264, allocations: 1.058 MB / 0.7906 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.7271, allocations: 0.6116 MB / 0.7912 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.7274, allocations: 395.4 kB / 0.7916 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.7277, allocations: 452 kB / 0.792 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.7279, allocations: 118.3 kB / 0.7921 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.728, allocations: 117.5 kB / 0.7922 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.7281, allocations: 254.2 kB / 0.7925 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.7284, allocations: 490.8 kB / 0.7929 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.7291, allocations: 1.271 MB / 0.7942 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7291, allocations: 3.469 kB / 0.7942 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7291, allocations: 0 / 0.7942 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.7292, allocations: 1 kB / 0.7942 GB, free: 44.92 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00185/0.731, allocations: 1.321 MB / 0.7955 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7311, allocations: 10.53 kB / 0.7955 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.7312, allocations: 116.1 kB / 0.7956 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.7319, allocations: 0.5938 MB / 0.7962 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.732, allocations: 68.97 kB / 0.7962 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.7321, allocations: 94.38 kB / 0.7963 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.7334, allocations: 0.8457 MB / 0.7971 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.7335, allocations: 0.8125 kB / 0.7971 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.7335, allocations: 45.36 kB / 0.7972 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.7336, allocations: 27.72 kB / 0.7972 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.7346, allocations: 0.5934 MB / 0.7978 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.7382, allocations: 2.701 MB / 0.8004 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.7396, allocations: 1.286 MB / 0.8017 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.7402, allocations: 372 kB / 0.802 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.7403, allocations: 11.81 kB / 0.8021 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/0.741, allocations: 334.8 kB / 0.8024 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 2.785e-06/0.741, allocations: 0 / 0.8024 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.001542/0.7425, allocations: 0.7689 MB / 0.8031 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.7426, allocations: 163.8 kB / 0.8033 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.7434, allocations: 0.5887 MB / 0.8039 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.7435, allocations: 42.95 kB / 0.8039 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.7437, allocations: 415.4 kB / 0.8043 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.7439, allocations: 233.3 kB / 0.8045 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.744, allocations: 124.2 kB / 0.8046 GB, free: 38.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7442, allocations: 387.1 kB / 0.805 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.7446, allocations: 224.8 kB / 0.8052 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.7452, allocations: 339.1 kB / 0.8055 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.7461, allocations: 0.4949 MB / 0.806 GB, free: 37.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7461, allocations: 0.7188 kB / 0.806 GB, free: 37.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001262/0.7474, allocations: 0.6538 MB / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7474, allocations: 8.656 kB / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7475, allocations: 1.891 kB / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.7475, allocations: 4.625 kB / 0.8067 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.7481, allocations: 141.6 kB / 0.8068 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7481, allocations: 11 kB / 0.8068 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.7485, allocations: 86.98 kB / 0.8069 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.7485, allocations: 24.77 kB / 0.8069 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005071/0.7491, allocations: 332 kB / 0.8072 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003689/0.7494, allocations: 291.7 kB / 0.8075 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005822/0.75, allocations: 413.8 kB / 0.8079 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.75, allocations: 0.9375 kB / 0.8079 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0008173/0.7509, allocations: 0.5599 MB / 0.8085 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7509, allocations: 5.594 kB / 0.8085 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7509, allocations: 2.25 kB / 0.8085 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.7509, allocations: 5.188 kB / 0.8085 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.7513, allocations: 120.3 kB / 0.8086 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.7514, allocations: 5 kB / 0.8086 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.7517, allocations: 78.08 kB / 0.8087 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.7518, allocations: 21.88 kB / 0.8087 GB, free: 36.76 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.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): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0001801/0.7519, allocations: 226.2 kB / 0.8089 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.752, allocations: 71.7 kB / 0.809 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.7522, allocations: 80.52 kB / 0.8091 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.7522, allocations: 5.781 kB / 0.8091 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.7522, allocations: 1.969 kB / 0.8091 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.7522, allocations: 3.844 kB / 0.8091 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.7546, allocations: 1.558 MB / 0.8106 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7546, allocations: 0 / 0.8106 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.7552, allocations: 132.5 kB / 0.8107 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.7552, allocations: 3 kB / 0.8107 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.7552, allocations: 19.5 kB / 0.8107 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.7553, allocations: 2.594 kB / 0.8107 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7553, allocations: 2.656 kB / 0.8107 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.7569, allocations: 0.9662 MB / 0.8117 GB, free: 35.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.7571, allocations: 165.4 kB / 0.8118 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.7572, allocations: 13.52 kB / 0.8119 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.7575, allocations: 47.16 kB / 0.8119 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.7576, allocations: 35.8 kB / 0.8119 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.7576, allocations: 22.06 kB / 0.812 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005209/0.7581, allocations: 422.2 kB / 0.8124 GB, free: 34.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7582, allocations: 0 / 0.8124 GB, free: 34.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007744/0.7589, allocations: 301.3 kB / 0.8126 GB, free: 34.72 MB / 0.6544 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001772/0.7591, allocations: 127.5 kB / 0.8128 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.7609, allocations: 0.8284 MB / 0.8136 GB, free: 34.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7609, allocations: 1.125 kB / 0.8136 GB, free: 34.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.7615, allocations: 290.7 kB / 0.8139 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.7622, allocations: 150.6 kB / 0.814 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.7646, allocations: 1.538 MB / 0.8155 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.7651, allocations: 0.9795 MB / 0.8165 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.7653, allocations: 67.66 kB / 0.8165 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.7653, allocations: 0 / 0.8165 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.01988/0.7852, allocations: 9.188 MB / 0.8255 GB, free: 31.76 MB / 0.6544 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)