Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009637, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007269/0.007269, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 11.09 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9103/1.224, allocations: 205.9 MB / 1.26 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01426/1.239, allocations: 10.72 MB / 1.27 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/1.242, allocations: 55.22 kB / 1.27 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/1.245, allocations: 0.6725 MB / 1.271 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008324/1.253, allocations: 2.266 MB / 1.273 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005995/1.259, allocations: 2.032 MB / 1.275 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007442/1.267, allocations: 4.59 MB / 1.28 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/1.269, allocations: 1.113 MB / 1.281 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/1.274, allocations: 1.706 MB / 1.282 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/1.277, allocations: 1.104 MB / 1.283 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003352/1.277, allocations: 61.75 kB / 1.284 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006818/1.284, allocations: 3.182 MB / 1.287 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008555/1.285, allocations: 370 kB / 1.287 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001717/1.287, allocations: 0.8261 MB / 1.288 GB, free: 18.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006385/1.293, allocations: 3.277 MB / 1.291 GB, free: 18.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.293, allocations: 0.8438 kB / 1.291 GB, free: 18.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.993e-06/1.293, allocations: 0 / 1.291 GB, free: 18.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.431e-05/1.293, allocations: 0 / 1.291 GB, free: 18.29 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005283/1.298, allocations: 2.038 MB / 1.293 GB, free: 17.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.298, allocations: 9.031 kB / 1.293 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/1.302, allocations: 0.5808 MB / 1.294 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/1.305, allocations: 1.257 MB / 1.295 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007232/1.306, allocations: 217.3 kB / 1.295 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/1.306, allocations: 107.3 kB / 1.295 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/1.309, allocations: 1.359 MB / 1.296 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.309, allocations: 0 / 1.296 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.309, allocations: 39.06 kB / 1.296 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/1.309, allocations: 42.5 kB / 1.296 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/1.312, allocations: 1.388 MB / 1.298 GB, free: 16.43 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009313/1.322, allocations: 5.328 MB / 1.303 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.324, allocations: 1.057 MB / 1.304 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/1.326, allocations: 0.5616 MB / 1.305 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.327, allocations: 0.7839 MB / 1.305 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/1.328, allocations: 0.6304 MB / 1.306 GB, free: 13.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 4.068e-06/1.328, allocations: 0 / 1.306 GB, free: 13.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004485/1.333, allocations: 1.652 MB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.333, allocations: 61.69 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.335, allocations: 1.328 MB / 1.309 GB, free: 12.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002115/1.335, allocations: 46.42 kB / 1.309 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005235/1.335, allocations: 0.6505 MB / 1.31 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.336, allocations: 273.7 kB / 1.31 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.336, allocations: 96.98 kB / 1.31 GB, free: 12.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.336, allocations: 349.7 kB / 1.31 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/1.337, allocations: 0.5263 MB / 1.311 GB, free: 12.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.339, allocations: 0.7881 MB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/1.341, allocations: 1.221 MB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.341, allocations: 3.375 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003529/1.345, allocations: 1.511 MB / 1.314 GB, free: 11.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/1.345, allocations: 257.8 kB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.345, allocations: 6.375 kB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.345, allocations: 10.88 kB / 1.315 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.347, allocations: 357.2 kB / 1.315 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006931/1.348, allocations: 1.198 MB / 1.316 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/1.35, allocations: 237.3 kB / 1.316 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.35, allocations: 54.41 kB / 1.316 GB, free: 9.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/1.35, allocations: 3.281 kB / 1.316 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002979/1.353, allocations: 1.353 MB / 1.318 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.353, allocations: 5.188 kB / 1.318 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.353, allocations: 9.688 kB / 1.318 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.354, allocations: 320.8 kB / 1.318 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.354, allocations: 10.94 kB / 1.318 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.356, allocations: 216.4 kB / 1.318 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.356, allocations: 56.08 kB / 1.318 GB, free: 9.793 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007821/1.357, allocations: 411.6 kB / 1.319 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/1.357, allocations: 154.3 kB / 1.319 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/1.36, allocations: 1.369 MB / 1.32 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.36, allocations: 12.66 kB / 1.32 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.36, allocations: 0 / 1.32 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/1.36, allocations: 4.969 kB / 1.32 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/1.366, allocations: 2.893 MB / 1.323 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.366, allocations: 2.469 kB / 1.323 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.367, allocations: 248 kB / 1.323 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.367, allocations: 9.969 kB / 1.323 GB, free: 8.891 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/1.367, allocations: 31.47 kB / 1.323 GB, free: 8.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005945/1.368, allocations: 1.195 MB / 1.324 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.368, allocations: 2.906 kB / 1.324 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/1.372, allocations: 2.121 MB / 1.327 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/1.373, allocations: 366.5 kB / 1.327 GB, free: 7.102 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.374, allocations: 28.33 kB / 1.327 GB, free: 7.102 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.375, allocations: 159.6 kB / 1.327 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.375, allocations: 74.53 kB / 1.327 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/1.375, allocations: 40.53 kB / 1.327 GB, free: 7.078 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001187/1.376, allocations: 0.8934 MB / 1.328 GB, free: 6.969 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.376, allocations: 3.094 kB / 1.328 GB, free: 6.969 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002318/1.379, allocations: 0.7927 MB / 1.329 GB, free: 6.879 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/1.38, allocations: 473.8 kB / 1.329 GB, free: 6.723 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00542/1.385, allocations: 2.109 MB / 1.331 GB, free: 6.535 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.385, allocations: 0 / 1.331 GB, free: 6.535 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.387, allocations: 0.6451 MB / 1.332 GB, free: 6.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/1.391, allocations: 0.6931 MB / 1.333 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/1.397, allocations: 3.328 MB / 1.336 GB, free: 4.777 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/1.398, allocations: 1.224 MB / 1.337 GB, free: 4.043 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002145/1.4, allocations: 422.2 kB / 1.337 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/1.401, allocations: 125.9 kB / 1.338 GB, free: 3.922 MB / 1.014 GB Notification: Performance of SimCode: time 1.021e-06/1.401, allocations: 0 / 1.338 GB, free: 3.922 MB / 1.014 GB Notification: Performance of Templates: time 0.05043/1.451, allocations: 29.37 MB / 1.366 GB, free: 5.328 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches