Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001006/0.001006, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.000371, allocations: 12.23 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8796/0.88, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2313/1.111, allocations: 206 MB / 1.157 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01793/1.129, allocations: 10.71 MB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/1.132, allocations: 55.56 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/1.135, allocations: 0.6719 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007687/1.142, allocations: 2.264 MB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00629/1.149, allocations: 2.041 MB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006604/1.155, allocations: 4.584 MB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/1.158, allocations: 1.098 MB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/1.163, allocations: 1.696 MB / 1.179 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/1.166, allocations: 1.106 MB / 1.18 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000601/1.166, allocations: 64 kB / 1.181 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006442/1.173, allocations: 3.171 MB / 1.184 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009147/1.174, allocations: 382.3 kB / 1.184 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/1.176, allocations: 0.8136 MB / 1.185 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004692/1.181, allocations: 2.377 MB / 1.187 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.181, allocations: 3.938 kB / 1.187 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.488e-06/1.181, allocations: 0 / 1.187 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.815e-05/1.181, allocations: 3.938 kB / 1.187 GB, free: 1.602 MB / 0.9356 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.006219/1.187, allocations: 2.028 MB / 1.189 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.187, allocations: 8.031 kB / 1.189 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/1.19, allocations: 0.5794 MB / 1.19 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/1.194, allocations: 1.257 MB / 1.191 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00073/1.194, allocations: 222.2 kB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/1.195, allocations: 104 kB / 1.191 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/1.198, allocations: 1.349 MB / 1.193 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/1.198, allocations: 0 / 1.193 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/1.198, allocations: 48 kB / 1.193 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/1.198, allocations: 41.98 kB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/1.202, allocations: 1.401 MB / 1.194 GB, free: 10.42 MB / 0.9512 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.01053/1.213, allocations: 5.318 MB / 1.199 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/1.216, allocations: 1.077 MB / 1.2 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/1.217, allocations: 0.5649 MB / 1.201 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.218, allocations: 0.7786 MB / 1.202 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/1.22, allocations: 0.6367 MB / 1.202 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.667e-06/1.22, allocations: 0 / 1.202 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.004893/1.225, allocations: 1.667 MB / 1.204 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/1.225, allocations: 64.05 kB / 1.204 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.227, allocations: 1.318 MB / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/1.228, allocations: 45.7 kB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/1.228, allocations: 0.6542 MB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/1.229, allocations: 283.9 kB / 1.206 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.229, allocations: 93.66 kB / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.229, allocations: 349.9 kB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.231, allocations: 0.5218 MB / 1.207 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/1.232, allocations: 0.7877 MB / 1.208 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/1.236, allocations: 1.229 MB / 1.209 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.236, allocations: 4 kB / 1.209 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004033/1.24, allocations: 1.513 MB / 1.21 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/1.24, allocations: 261.8 kB / 1.211 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.24, allocations: 4 kB / 1.211 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/1.24, allocations: 12 kB / 1.211 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/1.242, allocations: 351.5 kB / 1.211 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/1.243, allocations: 1.199 MB / 1.212 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.244, allocations: 226.7 kB / 1.212 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/1.245, allocations: 55.97 kB / 1.213 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.245, allocations: 4 kB / 1.213 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003483/1.248, allocations: 1.357 MB / 1.214 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.248, allocations: 8 kB / 1.214 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.248, allocations: 8 kB / 1.214 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.25, allocations: 319.6 kB / 1.214 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/1.25, allocations: 15.94 kB / 1.214 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.252, allocations: 214.8 kB / 1.214 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.252, allocations: 51.97 kB / 1.214 GB, free: 4.633 MB / 0.9669 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.0008945/1.253, allocations: 418.2 kB / 1.215 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/1.253, allocations: 154 kB / 1.215 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/1.257, allocations: 1.374 MB / 1.216 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.257, allocations: 12 kB / 1.216 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.257, allocations: 0 / 1.216 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.257, allocations: 11.97 kB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/1.264, allocations: 2.909 MB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.264, allocations: 8.031 kB / 1.219 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.265, allocations: 235.7 kB / 1.219 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.143e-05/1.265, allocations: 8 kB / 1.219 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/1.265, allocations: 31.97 kB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000707/1.266, allocations: 1.191 MB / 1.221 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.266, allocations: 4 kB / 1.221 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/1.271, allocations: 2.136 MB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/1.272, allocations: 366.8 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/1.272, allocations: 28 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.274, allocations: 131.8 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.274, allocations: 76.44 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.274, allocations: 43.98 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001629/1.276, allocations: 0.8899 MB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.276, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002773/1.278, allocations: 0.7879 MB / 1.225 GB, free: 9.594 MB / 0.9825 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001386/1.28, allocations: 480 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006049/1.286, allocations: 2.108 MB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.286, allocations: 4 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.288, allocations: 0.6533 MB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/1.293, allocations: 0.6942 MB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/1.3, allocations: 3.384 MB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.301, allocations: 1.223 MB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/1.302, allocations: 135.4 kB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/1.302, allocations: 0 / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of Templates: time 0.5323/1.834, allocations: 37.73 MB / 1.27 GB, free: 272 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches