Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 117.3 kB / 16.81 MB, free: 5.754 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.00178/0.00178, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.425/1.425, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 70.45 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04287/0.3672, allocations: 37.59 MB / 1.299 GB, free: 7.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.553, allocations: 149 MB / 1.444 GB, free: 1.672 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.5551, allocations: 47.75 kB / 1.444 GB, free: 1.625 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004912/0.56, allocations: 1.609 MB / 1.446 GB, free: 12 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.5664, allocations: 2.16 MB / 1.448 GB, free: 13.84 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.5706, allocations: 1.514 MB / 1.449 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5812, allocations: 6.261 MB / 1.456 GB, free: 6.066 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.5832, allocations: 0.9532 MB / 1.457 GB, free: 5.074 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.5874, allocations: 1.509 MB / 1.458 GB, free: 3.562 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.5896, allocations: 1.051 MB / 1.459 GB, free: 2.508 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004162/0.59, allocations: 120 kB / 1.459 GB, free: 2.391 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.5927, allocations: 1.158 MB / 1.46 GB, free: 1.23 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006383/0.5934, allocations: 0.5332 MB / 1.461 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.5946, allocations: 0.863 MB / 1.462 GB, free: 15.82 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.599, allocations: 2.728 MB / 1.464 GB, free: 13.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.599, allocations: 0 / 1.464 GB, free: 13.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.853e-06/0.599, allocations: 0 / 1.464 GB, free: 13.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.599, allocations: 4 kB / 1.464 GB, free: 13.09 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004104/0.6031, allocations: 2.142 MB / 1.466 GB, free: 10.88 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6032, allocations: 15.92 kB / 1.466 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.605, allocations: 366.5 kB / 1.467 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/0.609, allocations: 2.186 MB / 1.469 GB, free: 8.266 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.6091, allocations: 62 kB / 1.469 GB, free: 8.203 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.6092, allocations: 76 kB / 1.469 GB, free: 8.129 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.611, allocations: 0.8542 MB / 1.47 GB, free: 7.242 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.611, allocations: 4 kB / 1.47 GB, free: 7.238 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/0.6111, allocations: 28 kB / 1.47 GB, free: 7.211 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/0.6112, allocations: 33.94 kB / 1.47 GB, free: 7.176 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.6129, allocations: 0.6519 MB / 1.471 GB, free: 6.523 MB / 1.186 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.006433/0.6193, allocations: 3.874 MB / 1.474 GB, free: 2.441 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6206, allocations: 496.3 kB / 1.475 GB, free: 1.949 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.6212, allocations: 223.1 kB / 1.475 GB, free: 1.73 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003016/0.6242, allocations: 1.814 MB / 1.477 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.6243, allocations: 38.56 kB / 1.477 GB, free: 15.67 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.6243, allocations: 4 kB / 1.477 GB, free: 15.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=43): time 0.002096/0.6264, allocations: 0.7322 MB / 1.478 GB, free: 14.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.6264, allocations: 55.41 kB / 1.478 GB, free: 14.86 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.6287, allocations: 1.546 MB / 1.479 GB, free: 13.31 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.6288, allocations: 37.7 kB / 1.479 GB, free: 13.27 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006581/0.6295, allocations: 0.6852 MB / 1.48 GB, free: 12.58 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.6296, allocations: 170.6 kB / 1.48 GB, free: 12.41 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.63, allocations: 258.3 kB / 1.48 GB, free: 12.15 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.6302, allocations: 361.9 kB / 1.481 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.6311, allocations: 421 kB / 1.481 GB, free: 11.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.6322, allocations: 0.6984 MB / 1.482 GB, free: 10.57 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.6341, allocations: 1.031 MB / 1.483 GB, free: 9.449 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.6341, allocations: 4 kB / 1.483 GB, free: 9.445 MB / 1.201 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002688/0.6368, allocations: 1.299 MB / 1.484 GB, free: 8.137 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6368, allocations: 8 kB / 1.484 GB, free: 8.129 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.6368, allocations: 4 kB / 1.484 GB, free: 8.125 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.6368, allocations: 16.41 kB / 1.484 GB, free: 8.109 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009088/0.6377, allocations: 231.7 kB / 1.484 GB, free: 7.883 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.6378, allocations: 15.94 kB / 1.484 GB, free: 7.867 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.6389, allocations: 127.2 kB / 1.484 GB, free: 7.742 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.972e-05/0.639, allocations: 48.06 kB / 1.484 GB, free: 7.695 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001465/0.6405, allocations: 0.7482 MB / 1.485 GB, free: 6.945 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.6416, allocations: 0.7027 MB / 1.486 GB, free: 6.133 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001725/0.6433, allocations: 1.018 MB / 1.487 GB, free: 5.008 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.266e-06/0.6433, allocations: 4 kB / 1.487 GB, free: 5.004 MB / 1.201 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00259/0.6459, allocations: 1.274 MB / 1.488 GB, free: 3.73 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6459, allocations: 8 kB / 1.488 GB, free: 3.723 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6459, allocations: 8 kB / 1.488 GB, free: 3.715 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6459, allocations: 12 kB / 1.488 GB, free: 3.703 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.6468, allocations: 236 kB / 1.488 GB, free: 3.473 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.6468, allocations: 15.94 kB / 1.488 GB, free: 3.457 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.648, allocations: 103.5 kB / 1.488 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.6481, allocations: 47.98 kB / 1.488 GB, free: 3.309 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.6484, allocations: 240.4 kB / 1.489 GB, free: 3.066 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.6487, allocations: 147 kB / 1.489 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.6507, allocations: 0.7252 MB / 1.49 GB, free: 2.184 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/0.6521, allocations: 0.7392 MB / 1.49 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6521, allocations: 0 / 1.49 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/0.6528, allocations: 311.9 kB / 1.491 GB, free: 1.055 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.653, allocations: 12 kB / 1.491 GB, free: 1.043 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.6536, allocations: 43.8 kB / 1.491 GB, free: 1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.6537, allocations: 32.39 kB / 1.491 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001848/0.6556, allocations: 0.6908 MB / 1.491 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002324/0.6579, allocations: 1.135 MB / 1.492 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006017/0.6585, allocations: 243.4 kB / 1.493 GB, free: 14.88 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001701/0.6602, allocations: 1.036 MB / 1.494 GB, free: 13.84 MB / 1.217 GB Notification: Performance of Backend: time 3.1e-07/0.6602, allocations: 0 / 1.494 GB, free: 13.84 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004568/0.6648, allocations: 1.658 MB / 1.495 GB, free: 12.19 MB / 1.217 GB Notification: Performance of SimCode: time 0.007361/0.6721, allocations: 3.551 MB / 1.499 GB, free: 8.605 MB / 1.217 GB Notification: Performance of Templates: time 0.06032/0.7324, allocations: 33.25 MB / 1.531 GB, free: 7.719 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches