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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009134/0.0009135, allocations: 99.5 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.001266/0.001266, allocations: 182.8 kB / 16.92 MB, free: 6.914 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 8.938 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3859, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 1.009/1.395, allocations: 205.9 MB / 1.26 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01685/1.412, allocations: 10.72 MB / 1.271 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/1.415, allocations: 51.53 kB / 1.271 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/1.417, allocations: 0.6785 MB / 1.272 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008458/1.426, allocations: 2.271 MB / 1.274 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007057/1.433, allocations: 2.022 MB / 1.276 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009306/1.442, allocations: 4.588 MB / 1.28 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/1.445, allocations: 1.114 MB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/1.451, allocations: 1.707 MB / 1.283 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003925/1.455, allocations: 1.098 MB / 1.284 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005093/1.456, allocations: 61.47 kB / 1.284 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008924/1.465, allocations: 3.18 MB / 1.287 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/1.466, allocations: 374.6 kB / 1.288 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/1.468, allocations: 0.8173 MB / 1.288 GB, free: 18.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005018/1.473, allocations: 2.376 MB / 1.291 GB, free: 18.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.474, allocations: 1.219 kB / 1.291 GB, free: 18.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.415e-06/1.474, allocations: 0 / 1.291 GB, free: 18.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.409e-05/1.474, allocations: 0 / 1.291 GB, free: 18.14 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.007174/1.481, allocations: 2.035 MB / 1.293 GB, free: 17.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/1.481, allocations: 14.31 kB / 1.293 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/1.485, allocations: 0.5819 MB / 1.293 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.49, allocations: 1.258 MB / 1.295 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009852/1.491, allocations: 214.2 kB / 1.295 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/1.492, allocations: 112.8 kB / 1.295 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005128/1.497, allocations: 1.358 MB / 1.296 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/1.497, allocations: 4.094 kB / 1.296 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/1.497, allocations: 40.95 kB / 1.296 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.497, allocations: 46.69 kB / 1.296 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/1.503, allocations: 1.388 MB / 1.298 GB, free: 16.27 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.01287/1.516, allocations: 5.316 MB / 1.303 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/1.518, allocations: 1.065 MB / 1.304 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/1.52, allocations: 0.5626 MB / 1.304 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/1.521, allocations: 0.7798 MB / 1.305 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/1.523, allocations: 0.6348 MB / 1.306 GB, free: 13.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.456e-06/1.523, allocations: 0 / 1.306 GB, free: 13.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004777/1.528, allocations: 1.652 MB / 1.307 GB, free: 12.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.528, allocations: 60.84 kB / 1.307 GB, free: 12.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/1.531, allocations: 1.329 MB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/1.531, allocations: 43.05 kB / 1.309 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007186/1.532, allocations: 0.6522 MB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/1.532, allocations: 271.8 kB / 1.31 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.532, allocations: 100.6 kB / 1.31 GB, free: 12.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.532, allocations: 348.9 kB / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.534, allocations: 0.5276 MB / 1.311 GB, free: 12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.536, allocations: 0.7878 MB / 1.311 GB, free: 11.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/1.538, allocations: 1.22 MB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.538, allocations: 3.281 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003795/1.542, allocations: 1.506 MB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/1.542, allocations: 266.9 kB / 1.314 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.542, allocations: 3.094 kB / 1.314 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/1.542, allocations: 9.938 kB / 1.314 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.544, allocations: 352.6 kB / 1.315 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007781/1.545, allocations: 1.194 MB / 1.316 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/1.547, allocations: 238.4 kB / 1.316 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.547, allocations: 55.95 kB / 1.316 GB, free: 9.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.547, allocations: 6.062 kB / 1.316 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003141/1.551, allocations: 1.35 MB / 1.317 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.551, allocations: 5.469 kB / 1.317 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.551, allocations: 12.44 kB / 1.317 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.552, allocations: 317.7 kB / 1.318 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/1.552, allocations: 17.3 kB / 1.318 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.554, allocations: 217.5 kB / 1.318 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.554, allocations: 59.81 kB / 1.318 GB, free: 9.633 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.0009311/1.555, allocations: 408.1 kB / 1.318 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/1.556, allocations: 156.6 kB / 1.319 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/1.559, allocations: 1.361 MB / 1.32 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/1.559, allocations: 11.72 kB / 1.32 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.559, allocations: 0 / 1.32 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.559, allocations: 7.188 kB / 1.32 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006253/1.565, allocations: 2.896 MB / 1.323 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.565, allocations: 6 kB / 1.323 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.567, allocations: 245.8 kB / 1.323 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/1.567, allocations: 12.19 kB / 1.323 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/1.567, allocations: 28.98 kB / 1.323 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007243/1.567, allocations: 1.192 MB / 1.324 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.567, allocations: 5.844 kB / 1.324 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/1.572, allocations: 2.118 MB / 1.326 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.573, allocations: 370 kB / 1.327 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/1.574, allocations: 22.39 kB / 1.327 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.576, allocations: 165.5 kB / 1.327 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.576, allocations: 68.97 kB / 1.327 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.576, allocations: 41.09 kB / 1.327 GB, free: 6.914 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001746/1.578, allocations: 0.8918 MB / 1.328 GB, free: 6.805 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.71e-07/1.578, allocations: 3.312 kB / 1.328 GB, free: 6.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003108/1.581, allocations: 0.7916 MB / 1.329 GB, free: 6.719 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.001479/1.582, allocations: 474 kB / 1.329 GB, free: 6.562 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005476/1.588, allocations: 2.111 MB / 1.331 GB, free: 6.371 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.588, allocations: 3.531 kB / 1.331 GB, free: 6.371 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.59, allocations: 0.6344 MB / 1.332 GB, free: 6.352 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.595, allocations: 0.6853 MB / 1.332 GB, free: 6.289 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/1.601, allocations: 3.378 MB / 1.336 GB, free: 4.586 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.602, allocations: 1.227 MB / 1.337 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/1.603, allocations: 132.8 kB / 1.337 GB, free: 3.84 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/1.603, allocations: 0 / 1.337 GB, free: 3.84 MB / 1.014 GB Notification: Performance of Templates: time 0.05677/1.66, allocations: 37.67 MB / 1.374 GB, free: 13.55 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches