Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.659/2.659, allocations: 287.9 MB / 302.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 187.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 94.02 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 15 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1933, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.009725/0.2031, allocations: 4.904 MB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006727/0.2099, allocations: 1.899 MB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.2121, allocations: 59.75 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.2127, allocations: 118.6 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.2153, allocations: 302.9 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.2181, allocations: 0.4901 MB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.2216, allocations: 1.126 MB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.2233, allocations: 0.7014 MB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.2242, allocations: 0.5597 MB / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.2246, allocations: 0.5045 MB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.2248, allocations: 47.94 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.225, allocations: 55.98 kB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.2251, allocations: 210.9 kB / 0.9895 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.2254, allocations: 296.8 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.227, allocations: 1.952 MB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.65e-06/0.227, allocations: 4 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.621e-06/0.227, allocations: 0 / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.2271, allocations: 0 / 0.9917 GB, free: 14.89 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.003182/0.2303, allocations: 1.784 MB / 0.9934 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2303, allocations: 12.02 kB / 0.9934 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.2306, allocations: 205.6 kB / 0.9936 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.2334, allocations: 1.188 MB / 0.9948 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2335, allocations: 110.8 kB / 0.9949 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.2337, allocations: 156 kB / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.2365, allocations: 1.296 MB / 0.9963 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.2366, allocations: 0 / 0.9963 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.2367, allocations: 60 kB / 0.9963 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.2367, allocations: 36 kB / 0.9964 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.239, allocations: 0.9174 MB / 0.9973 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008279/0.2473, allocations: 4.525 MB / 1.002 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2491, allocations: 0.6578 MB / 1.002 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.67e-05/0.2492, allocations: 20.36 kB / 1.002 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000956/0.2501, allocations: 420.7 kB / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=79): time 4.401e-06/0.2501, allocations: 0 / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=79): time 0.002247/0.2524, allocations: 0.8473 MB / 1.004 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.2525, allocations: 144.4 kB / 1.004 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.2542, allocations: 1.17 MB / 1.005 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.2543, allocations: 57.7 kB / 1.005 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/0.2549, allocations: 0.785 MB / 1.006 GB, free: 108 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.2553, allocations: 248.5 kB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.2554, allocations: 28 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2556, allocations: 349.9 kB / 1.006 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/0.2566, allocations: 314.4 kB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.2579, allocations: 0.7172 MB / 1.007 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.2591, allocations: 409.5 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.2591, allocations: 4 kB / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003123/0.2622, allocations: 1.176 MB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.002353/0.2646, allocations: 4.2 MB / 1.013 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/0.2647, allocations: 12 kB / 1.013 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.572e-05/0.2647, allocations: 20 kB / 1.013 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.2659, allocations: 211.6 kB / 1.013 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.711e-05/0.2659, allocations: 23.92 kB / 1.013 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.2672, allocations: 178.4 kB / 1.013 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.2673, allocations: 59.98 kB / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2674, allocations: 4 kB / 1.013 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002468/0.2698, allocations: 0.9821 MB / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.2699, allocations: 12 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.2699, allocations: 16 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.2708, allocations: 204.4 kB / 1.015 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/0.2709, allocations: 27.92 kB / 1.015 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.272, allocations: 154.7 kB / 1.015 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.2721, allocations: 55.98 kB / 1.015 GB, free: 6.277 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,uSupFan3.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,uSupFan2.y,$whenCondition2,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u,uSupFan1.y,$whenCondition1,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0009729/0.2731, allocations: 432.6 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.2734, allocations: 138.2 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.2756, allocations: 0.7191 MB / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.2756, allocations: 15.98 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2756, allocations: 0 / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.2757, allocations: 7.984 kB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.2802, allocations: 2.153 MB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.04e-06/0.2802, allocations: 4 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.2809, allocations: 119.8 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.281, allocations: 4 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/0.2811, allocations: 23.98 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.2811, allocations: 7.953 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.254e-06/0.2811, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.284, allocations: 1.406 MB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.2844, allocations: 215.2 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.2846, allocations: 31.95 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.2854, allocations: 31.97 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.2857, allocations: 79.86 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.2858, allocations: 31.98 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001432/0.2872, allocations: 0.7539 MB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.62e-07/0.2872, allocations: 0 / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002032/0.2893, allocations: 493.9 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (cooVal1.limPI.I.y,cooVal2.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal1.limPI.trigger,$whenCondition1,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal2.limPI.trigger,$whenCondition2,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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.0002949/0.2896, allocations: 157 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003495/0.2931, allocations: 1.412 MB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.883e-06/0.2931, allocations: 4.125 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.294, allocations: 296.4 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.2956, allocations: 255.9 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.3011, allocations: 2.722 MB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.3022, allocations: 1.222 MB / 1.027 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00166/0.3039, allocations: 227.2 kB / 1.027 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.3043, allocations: 103.4 kB / 1.028 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of SimCode: time 1.948e-06/0.3043, allocations: 8 kB / 1.028 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of Templates: time 0.03664/0.341, allocations: 11.89 MB / 1.039 GB, free: 13.2 MB / 0.6667 GB