Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001728/0.001728, allocations: 110.5 kB / 16.42 MB, free: 6.531 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.001974/0.001974, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.547/2.547, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7394/0.7408, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.0379/0.7787, allocations: 37.33 MB / 1.263 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.9357, allocations: 148.6 MB / 1.408 GB, free: 2.895 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.9378, allocations: 47.75 kB / 1.408 GB, free: 2.848 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.9423, allocations: 1.606 MB / 1.41 GB, free: 1.242 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.9482, allocations: 2.139 MB / 1.412 GB, free: 15.09 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.9522, allocations: 1.514 MB / 1.413 GB, free: 13.59 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.9623, allocations: 6.2 MB / 1.419 GB, free: 7.379 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.9643, allocations: 1.137 MB / 1.42 GB, free: 6.207 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.9679, allocations: 1.502 MB / 1.422 GB, free: 4.699 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.9697, allocations: 0.9883 MB / 1.423 GB, free: 3.707 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003919/0.9701, allocations: 120 kB / 1.423 GB, free: 3.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.9731, allocations: 1.135 MB / 1.424 GB, free: 2.453 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006995/0.9738, allocations: 0.5062 MB / 1.424 GB, free: 1.945 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.9752, allocations: 0.859 MB / 1.425 GB, free: 1.082 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.9796, allocations: 2.744 MB / 1.428 GB, free: 14.33 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.9797, allocations: 0 / 1.428 GB, free: 14.33 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9797, allocations: 0 / 1.428 GB, free: 14.33 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.187e-05/0.9797, allocations: 0 / 1.428 GB, free: 14.33 MB / 1.154 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.003766/0.9835, allocations: 2.142 MB / 1.43 GB, free: 12.12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9835, allocations: 11.98 kB / 1.43 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.9853, allocations: 362.5 kB / 1.43 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.9891, allocations: 2.178 MB / 1.432 GB, free: 9.523 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.9892, allocations: 65.98 kB / 1.433 GB, free: 9.457 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.9894, allocations: 80 kB / 1.433 GB, free: 9.379 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.9909, allocations: 0.8503 MB / 1.433 GB, free: 8.496 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.991, allocations: 4 kB / 1.433 GB, free: 8.492 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.9911, allocations: 28 kB / 1.433 GB, free: 8.465 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.9911, allocations: 33.98 kB / 1.434 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.9927, allocations: 0.6597 MB / 1.434 GB, free: 7.773 MB / 1.154 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.005853/0.9986, allocations: 3.869 MB / 1.438 GB, free: 3.699 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.9999, allocations: 0.5116 MB / 1.438 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/1, allocations: 240.7 kB / 1.439 GB, free: 2.941 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003086/1.004, allocations: 1.814 MB / 1.44 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.004, allocations: 34.56 kB / 1.44 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 3.496e-06/1.004, allocations: 0 / 1.44 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of matching and sorting (n=43): time 0.002153/1.006, allocations: 0.7399 MB / 1.441 GB, free: 148 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.006, allocations: 55.41 kB / 1.441 GB, free: 80 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/1.008, allocations: 1.546 MB / 1.443 GB, free: 14.52 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/1.009, allocations: 33.7 kB / 1.443 GB, free: 14.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/1.009, allocations: 0.6891 MB / 1.443 GB, free: 13.79 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/1.009, allocations: 166.6 kB / 1.444 GB, free: 13.62 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/1.01, allocations: 262.3 kB / 1.444 GB, free: 13.36 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.01, allocations: 361.9 kB / 1.444 GB, free: 13 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008288/1.011, allocations: 421 kB / 1.445 GB, free: 12.59 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.012, allocations: 0.7022 MB / 1.445 GB, free: 11.78 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.014, allocations: 1.035 MB / 1.446 GB, free: 10.64 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/1.014, allocations: 0 / 1.446 GB, free: 10.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002652/1.016, allocations: 1.3 MB / 1.448 GB, free: 9.336 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.016, allocations: 12.06 kB / 1.448 GB, free: 9.324 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.016, allocations: 8 kB / 1.448 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/1.017, allocations: 12 kB / 1.448 GB, free: 9.305 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009703/1.018, allocations: 227.6 kB / 1.448 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.016e-05/1.018, allocations: 23.92 kB / 1.448 GB, free: 9.059 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.019, allocations: 135.1 kB / 1.448 GB, free: 8.926 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.019, allocations: 43.98 kB / 1.448 GB, free: 8.883 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001382/1.02, allocations: 0.7482 MB / 1.449 GB, free: 8.133 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009784/1.021, allocations: 0.6867 MB / 1.449 GB, free: 7.336 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/1.023, allocations: 1.026 MB / 1.45 GB, free: 6.207 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/1.023, allocations: 4 kB / 1.45 GB, free: 6.203 MB / 1.17 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002509/1.026, allocations: 1.274 MB / 1.452 GB, free: 4.922 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.026, allocations: 8 kB / 1.452 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.026, allocations: 8 kB / 1.452 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.026, allocations: 12.41 kB / 1.452 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/1.026, allocations: 227.7 kB / 1.452 GB, free: 4.672 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.026, allocations: 15.94 kB / 1.452 GB, free: 4.656 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.028, allocations: 107.8 kB / 1.452 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/1.028, allocations: 47.98 kB / 1.452 GB, free: 4.504 MB / 1.17 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.000271/1.028, allocations: 235.9 kB / 1.452 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/1.028, allocations: 147 kB / 1.452 GB, free: 4.121 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/1.03, allocations: 0.7252 MB / 1.453 GB, free: 3.383 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001291/1.032, allocations: 0.7431 MB / 1.454 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.032, allocations: 3.984 kB / 1.454 GB, free: 2.566 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/1.032, allocations: 300 kB / 1.454 GB, free: 2.254 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/1.033, allocations: 8 kB / 1.454 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/1.033, allocations: 55.66 kB / 1.454 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.033, allocations: 36.39 kB / 1.454 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001812/1.035, allocations: 0.6909 MB / 1.455 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002238/1.038, allocations: 1.131 MB / 1.456 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006098/1.038, allocations: 275.3 kB / 1.456 GB, free: 40 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001854/1.04, allocations: 1.036 MB / 1.457 GB, free: 15.01 MB / 1.186 GB Notification: Performance of Backend: time 5.21e-07/1.04, allocations: 0 / 1.457 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004503/1.045, allocations: 1.773 MB / 1.459 GB, free: 13.24 MB / 1.186 GB Notification: Performance of SimCode: time 0.006109/1.051, allocations: 3.536 MB / 1.463 GB, free: 9.668 MB / 1.186 GB Notification: Performance of Templates: time 0.05479/1.105, allocations: 32.82 MB / 1.495 GB, free: 9.188 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches