Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 288.4 MB / 303.7 MB, free: 8.09 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.001223/0.001224, allocations: 170 kB / 372.3 MB, free: 10.11 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.954/1.954, allocations: 205.4 MB / 0.631 GB, free: 9.781 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 92.31 kB / 0.7444 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 13.91 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001794/0.2212, allocations: 1.572 MB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2229, allocations: 1.535 MB / 0.9832 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.2231, allocations: 11.94 kB / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2233, allocations: 59.44 kB / 0.9833 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.2236, allocations: 60.88 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2242, allocations: 222.8 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.2246, allocations: 0.5826 MB / 0.9841 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.225, allocations: 288.5 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.2251, allocations: 171.1 kB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.2253, allocations: 190.8 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.2254, allocations: 16 kB / 0.9847 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.2255, allocations: 32 kB / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.2255, allocations: 79.55 kB / 0.9848 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.2257, allocations: 228.4 kB / 0.9851 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.2261, allocations: 0.608 MB / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2261, allocations: 0 / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2261, allocations: 0 / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2261, allocations: 4 kB / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001123/0.2272, allocations: 0.8176 MB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2273, allocations: 12.02 kB / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.2274, allocations: 68.19 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.2278, allocations: 426.8 kB / 0.9869 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.2279, allocations: 37.38 kB / 0.987 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.228, allocations: 56.36 kB / 0.987 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.2286, allocations: 479.5 kB / 0.9875 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2286, allocations: 192 / 0.9875 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.2287, allocations: 23.94 kB / 0.9875 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2287, allocations: 8 kB / 0.9875 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.2292, allocations: 343.8 kB / 0.9878 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2309, allocations: 1.48 MB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.2317, allocations: 0.8668 MB / 0.9901 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.232, allocations: 217 kB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.232, allocations: 4 kB / 0.9903 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.2324, allocations: 227 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.195e-06/0.2324, allocations: 4 kB / 0.9906 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0008209/0.2332, allocations: 0.5118 MB / 0.9911 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2333, allocations: 110.8 kB / 0.9912 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.2336, allocations: 389.6 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.2336, allocations: 37.7 kB / 0.9916 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2338, allocations: 260.3 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.2338, allocations: 138 kB / 0.992 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.2339, allocations: 4 kB / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.2339, allocations: 358.8 kB / 0.9923 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.2342, allocations: 168.8 kB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.2346, allocations: 258.9 kB / 0.9927 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.2351, allocations: 403.3 kB / 0.9931 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2351, allocations: 4 kB / 0.9931 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008109/0.2359, allocations: 0.5315 MB / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.236, allocations: 178.4 kB / 0.9938 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.236, allocations: 4 kB / 0.9938 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2361, allocations: 7.984 kB / 0.9938 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.2364, allocations: 95.83 kB / 0.9939 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2364, allocations: 4 kB / 0.9939 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.2368, allocations: 95.48 kB / 0.994 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.2369, allocations: 24.03 kB / 0.994 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.2369, allocations: 4 kB / 0.994 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005309/0.2374, allocations: 429.3 kB / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.2374, allocations: 0 / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.2374, allocations: 4 kB / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2377, allocations: 80.12 kB / 0.9945 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2377, allocations: 7.938 kB / 0.9945 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.238, allocations: 79.48 kB / 0.9946 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.238, allocations: 23.98 kB / 0.9946 GB, free: 11.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0002195/0.2383, allocations: 253.1 kB / 0.9949 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.2383, allocations: 39.53 kB / 0.9949 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.2384, allocations: 48.77 kB / 0.9949 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.2384, allocations: 4 kB / 0.9949 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.2384, allocations: 7.938 kB / 0.9949 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2384, allocations: 3.984 kB / 0.995 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2396, allocations: 1.011 MB / 0.9959 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2396, allocations: 3.938 kB / 0.9959 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.2399, allocations: 75.89 kB / 0.996 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2399, allocations: 4 kB / 0.996 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.24, allocations: 12 kB / 0.996 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.24, allocations: 0 / 0.996 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.24, allocations: 0 / 0.996 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.2408, allocations: 0.6603 MB / 0.9967 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.2409, allocations: 128.4 kB / 0.9968 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.2409, allocations: 7.984 kB / 0.9968 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.2411, allocations: 27.98 kB / 0.9968 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2412, allocations: 19.97 kB / 0.9969 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2412, allocations: 15.98 kB / 0.9969 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002488/0.2415, allocations: 279.2 kB / 0.9971 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2415, allocations: 4 kB / 0.9971 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005042/0.242, allocations: 187.2 kB / 0.9973 GB, free: 9.102 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001826/0.2422, allocations: 119.2 kB / 0.9974 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009429/0.2431, allocations: 0.7297 MB / 0.9981 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2431, allocations: 0.875 kB / 0.9981 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.2434, allocations: 179.9 kB / 0.9983 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.244, allocations: 92.39 kB / 0.9984 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2451, allocations: 1.05 MB / 0.9994 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2454, allocations: 0.8469 MB / 1 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001906/0.2456, allocations: 55.31 kB / 1 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.2457, allocations: 35.44 kB / 1 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.2457, allocations: 0 / 1 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.008705/0.2544, allocations: 5.261 MB / 1.005 GB, free: 0.7031 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)