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.001752/0.001752, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.002019/0.002019, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.389/1.389, 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.802/1.802, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001458/0.001458, allocations: 67.89 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2517, allocations: 114.5 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005024/0.2568, allocations: 3.597 MB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4653/0.7221, allocations: 2.093 MB / 0.7896 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.7227, allocations: 21.03 kB / 0.7896 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.7231, allocations: 168.9 kB / 0.7898 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.7237, allocations: 162.4 kB / 0.7899 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.7246, allocations: 490 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.7256, allocations: 1.233 MB / 0.7916 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.7263, allocations: 0.5694 MB / 0.7922 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.7268, allocations: 440.4 kB / 0.7926 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.7271, allocations: 474.2 kB / 0.793 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.7272, allocations: 129 kB / 0.7932 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.7274, allocations: 133.8 kB / 0.7933 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.7276, allocations: 261.2 kB / 0.7935 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.7279, allocations: 0.5006 MB / 0.794 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009135/0.7288, allocations: 1.384 MB / 0.7954 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7288, allocations: 0 / 0.7954 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7288, allocations: 0 / 0.7954 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.7288, allocations: 6.781 kB / 0.7954 GB, free: 44.34 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.002259/0.7311, allocations: 1.409 MB / 0.7968 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.7311, allocations: 6.844 kB / 0.7968 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.7313, allocations: 124.2 kB / 0.7969 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.7321, allocations: 0.6416 MB / 0.7975 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.7321, allocations: 62.36 kB / 0.7976 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.7322, allocations: 88.88 kB / 0.7977 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.7335, allocations: 0.8141 MB / 0.7984 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.7335, allocations: 192 / 0.7984 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.7335, allocations: 38.19 kB / 0.7985 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.7336, allocations: 20.66 kB / 0.7985 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.7347, allocations: 0.6066 MB / 0.7991 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.7387, allocations: 2.816 MB / 0.8018 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.7402, allocations: 0.6627 MB / 0.8025 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.7408, allocations: 339.2 kB / 0.8028 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.7409, allocations: 17.98 kB / 0.8028 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00077/0.7416, allocations: 320.8 kB / 0.8031 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 4.148e-06/0.7416, allocations: 0.9688 kB / 0.8031 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.0018/0.7435, allocations: 0.7632 MB / 0.8039 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.7435, allocations: 188.9 kB / 0.8041 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.7445, allocations: 0.7081 MB / 0.8048 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-05/0.7446, allocations: 43.73 kB / 0.8048 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.745, allocations: 456.5 kB / 0.8052 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.7451, allocations: 201.5 kB / 0.8054 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.7453, allocations: 135.3 kB / 0.8056 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.7454, allocations: 336.7 kB / 0.8059 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.746, allocations: 261.8 kB / 0.8061 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.7467, allocations: 449.7 kB / 0.8066 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.7479, allocations: 0.6161 MB / 0.8072 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.748, allocations: 1 kB / 0.8072 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001647/0.7496, allocations: 0.8131 MB / 0.808 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.7497, allocations: 39.3 kB / 0.808 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.7497, allocations: 10.3 kB / 0.808 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.7497, allocations: 4.938 kB / 0.808 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.7503, allocations: 145.4 kB / 0.8081 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.7503, allocations: 6.406 kB / 0.8081 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/0.751, allocations: 136.2 kB / 0.8083 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.7511, allocations: 27.33 kB / 0.8083 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006097/0.7517, allocations: 365.6 kB / 0.8087 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004342/0.7522, allocations: 382.4 kB / 0.809 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000675/0.7529, allocations: 0.5132 MB / 0.8095 GB, free: 36.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.7529, allocations: 1.219 kB / 0.8095 GB, free: 36.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001173/0.754, allocations: 0.6973 MB / 0.8102 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.7541, allocations: 36.78 kB / 0.8102 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7541, allocations: 2.812 kB / 0.8102 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7541, allocations: 10.19 kB / 0.8102 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.7546, allocations: 124.2 kB / 0.8104 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7546, allocations: 10.39 kB / 0.8104 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.7552, allocations: 106.1 kB / 0.8105 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.7552, allocations: 25.47 kB / 0.8105 GB, free: 36.02 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.0002099/0.7554, allocations: 228.5 kB / 0.8107 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.7556, allocations: 89.25 kB / 0.8108 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.7557, allocations: 87.81 kB / 0.8109 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.7557, allocations: 7.031 kB / 0.8109 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.7558, allocations: 4.406 kB / 0.8109 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7558, allocations: 2.812 kB / 0.8109 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.7567, allocations: 0.7697 MB / 0.8117 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7567, allocations: 1.125 kB / 0.8117 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.7572, allocations: 116.6 kB / 0.8118 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7573, allocations: 1.562 kB / 0.8118 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.7573, allocations: 14.12 kB / 0.8118 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.7573, allocations: 4.719 kB / 0.8118 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7573, allocations: 3.141 kB / 0.8118 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.7592, allocations: 0.8814 MB / 0.8127 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.7593, allocations: 167.9 kB / 0.8128 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.7594, allocations: 12.75 kB / 0.8128 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.7598, allocations: 46.97 kB / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/0.7599, allocations: 35.11 kB / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.7599, allocations: 18.17 kB / 0.8129 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007779/0.7607, allocations: 498.1 kB / 0.8134 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7607, allocations: 0 / 0.8134 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001045/0.7617, allocations: 304.4 kB / 0.8137 GB, free: 34.41 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.0002629/0.762, allocations: 130.5 kB / 0.8138 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.7644, allocations: 1.059 MB / 0.8148 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7644, allocations: 1.125 kB / 0.8148 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.7649, allocations: 277 kB / 0.8151 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.7658, allocations: 192.4 kB / 0.8153 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.7681, allocations: 1.464 MB / 0.8167 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.7686, allocations: 0.9822 MB / 0.8177 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.7688, allocations: 67.38 kB / 0.8177 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7688, allocations: 0 / 0.8177 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.02351/0.7923, allocations: 10.16 MB / 0.8277 GB, free: 31.28 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)