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.001411/0.001411, allocations: 105.1 kB / 16.29 MB, free: 6.035 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.001561/0.001561, allocations: 182.7 kB / 17.22 MB, free: 5.645 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.627/1.627, 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.982/1.982, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.00153/0.00153, allocations: 68.47 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3083, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.005475/0.3138, allocations: 3.292 MB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5494/0.8633, allocations: 1.702 MB / 0.789 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.8643, allocations: 17.25 kB / 0.789 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.865, allocations: 156.9 kB / 0.7891 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.8657, allocations: 141.9 kB / 0.7893 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.8666, allocations: 346.7 kB / 0.7896 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.8679, allocations: 1.064 MB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.8692, allocations: 0.6071 MB / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005233/0.8697, allocations: 398.6 kB / 0.7916 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.8702, allocations: 452 kB / 0.792 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.8704, allocations: 119.4 kB / 0.7922 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.8706, allocations: 118.2 kB / 0.7923 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.8709, allocations: 254.2 kB / 0.7925 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.8713, allocations: 490.7 kB / 0.793 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.8728, allocations: 1.323 MB / 0.7943 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8729, allocations: 0.8125 kB / 0.7943 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8729, allocations: 0 / 0.7943 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.8729, allocations: 0.875 kB / 0.7943 GB, free: 44.99 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.003073/0.876, allocations: 1.319 MB / 0.7956 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8761, allocations: 10.5 kB / 0.7956 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.8763, allocations: 119.8 kB / 0.7957 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.8774, allocations: 0.5894 MB / 0.7963 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.8775, allocations: 72.03 kB / 0.7963 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.8776, allocations: 95.28 kB / 0.7964 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.8799, allocations: 0.8492 MB / 0.7972 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.88, allocations: 1.062 kB / 0.7973 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8801, allocations: 41.94 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.8802, allocations: 20.47 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.882, allocations: 0.597 MB / 0.7979 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/0.8886, allocations: 2.664 MB / 0.8005 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.8911, allocations: 1.297 MB / 0.8018 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.8922, allocations: 371.6 kB / 0.8021 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-05/0.8923, allocations: 9.328 kB / 0.8021 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.8935, allocations: 329.6 kB / 0.8024 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 4.458e-06/0.8935, allocations: 0 / 0.8024 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.002918/0.8964, allocations: 0.7679 MB / 0.8032 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.8965, allocations: 167.1 kB / 0.8033 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.898, allocations: 0.5932 MB / 0.8039 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/0.8981, allocations: 42.81 kB / 0.804 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.8985, allocations: 418.3 kB / 0.8044 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.8987, allocations: 230 kB / 0.8046 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.899, allocations: 116.2 kB / 0.8047 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8992, allocations: 388 kB / 0.8051 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/0.9001, allocations: 228.8 kB / 0.8053 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/0.9011, allocations: 349.3 kB / 0.8056 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.9028, allocations: 0.4935 MB / 0.8061 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9029, allocations: 1.125 kB / 0.8061 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002311/0.9052, allocations: 0.6472 MB / 0.8067 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.9052, allocations: 4.688 kB / 0.8067 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9053, allocations: 5.656 kB / 0.8067 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.9053, allocations: 3.719 kB / 0.8067 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.9064, allocations: 143.8 kB / 0.8069 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.9064, allocations: 4.453 kB / 0.8069 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.9071, allocations: 90.69 kB / 0.807 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.9072, allocations: 20.58 kB / 0.807 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008918/0.9081, allocations: 336.8 kB / 0.8073 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006007/0.9088, allocations: 282.6 kB / 0.8076 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.9098, allocations: 425.2 kB / 0.808 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.9099, allocations: 0.75 kB / 0.808 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001505/0.9114, allocations: 0.556 MB / 0.8085 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.9114, allocations: 6.531 kB / 0.8085 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.9114, allocations: 1.5 kB / 0.8085 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.9115, allocations: 4.344 kB / 0.8085 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.9123, allocations: 121.5 kB / 0.8087 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.9123, allocations: 8.062 kB / 0.8087 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.9129, allocations: 78.11 kB / 0.8087 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.913, allocations: 19.72 kB / 0.8088 GB, free: 36.85 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.0002467/0.9133, allocations: 222.3 kB / 0.809 GB, free: 36.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.9134, allocations: 71.48 kB / 0.809 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.9137, allocations: 80.42 kB / 0.8091 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.9137, allocations: 6.938 kB / 0.8091 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/0.9137, allocations: 6.5 kB / 0.8091 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.9137, allocations: 4.766 kB / 0.8091 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.9175, allocations: 1.558 MB / 0.8107 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9176, allocations: 0.7188 kB / 0.8107 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.9182, allocations: 128.8 kB / 0.8108 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.9183, allocations: 1.625 kB / 0.8108 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.9183, allocations: 18.17 kB / 0.8108 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.9183, allocations: 2.531 kB / 0.8108 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.9183, allocations: 2.391 kB / 0.8108 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.9199, allocations: 0.972 MB / 0.8118 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.92, allocations: 158.1 kB / 0.8119 GB, free: 35.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.9201, allocations: 16.41 kB / 0.8119 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.9204, allocations: 44.34 kB / 0.812 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.9205, allocations: 35.86 kB / 0.812 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.9206, allocations: 20.34 kB / 0.812 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005624/0.9211, allocations: 426.6 kB / 0.8124 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9211, allocations: 0 / 0.8124 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008924/0.922, allocations: 296 kB / 0.8127 GB, free: 34.81 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.0001865/0.9222, allocations: 132.5 kB / 0.8128 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.924, allocations: 0.8066 MB / 0.8136 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.924, allocations: 5.125 kB / 0.8136 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.9245, allocations: 286.6 kB / 0.8139 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.9254, allocations: 144.9 kB / 0.814 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.9277, allocations: 1.485 MB / 0.8155 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.9282, allocations: 0.9799 MB / 0.8164 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003647/0.9286, allocations: 85.72 kB / 0.8165 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.9288, allocations: 55.88 kB / 0.8166 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.9288, allocations: 2.344 kB / 0.8166 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.01848/0.9473, allocations: 7.215 MB / 0.8236 GB, free: 32.46 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)