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 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.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.001507/0.001507, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.00166/0.00166, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002394, allocations: 64.14 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7186, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03554/0.7541, allocations: 37.33 MB / 1.245 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.9012, allocations: 148.6 MB / 1.39 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.9029, allocations: 47.75 kB / 1.39 GB, free: 2.988 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.9073, allocations: 1.596 MB / 1.392 GB, free: 1.387 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.9126, allocations: 2.062 MB / 1.394 GB, free: 15.32 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.9163, allocations: 1.503 MB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008878/0.9251, allocations: 6.189 MB / 1.401 GB, free: 7.621 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.927, allocations: 1.137 MB / 1.402 GB, free: 6.453 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.9304, allocations: 1.502 MB / 1.404 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.9321, allocations: 0.9842 MB / 1.405 GB, free: 3.961 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.9325, allocations: 124 kB / 1.405 GB, free: 3.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.9349, allocations: 1.135 MB / 1.406 GB, free: 2.703 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.9355, allocations: 0.5101 MB / 1.406 GB, free: 2.191 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.9367, allocations: 0.8628 MB / 1.407 GB, free: 1.324 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.9403, allocations: 2.722 MB / 1.41 GB, free: 14.59 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9404, allocations: 0 / 1.41 GB, free: 14.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9404, allocations: 0 / 1.41 GB, free: 14.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.652e-05/0.9404, allocations: 0 / 1.41 GB, free: 14.59 MB / 1.139 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.004005/0.9444, allocations: 2.085 MB / 1.412 GB, free: 12.45 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.9445, allocations: 8.031 kB / 1.412 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.9463, allocations: 349.6 kB / 1.412 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.95, allocations: 2.177 MB / 1.414 GB, free: 9.863 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.9501, allocations: 66 kB / 1.414 GB, free: 9.801 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.9503, allocations: 80 kB / 1.414 GB, free: 9.723 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.9519, allocations: 0.858 MB / 1.415 GB, free: 8.828 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.952, allocations: 0 / 1.415 GB, free: 8.828 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/0.9521, allocations: 32 kB / 1.415 GB, free: 8.797 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.9521, allocations: 26 kB / 1.415 GB, free: 8.773 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.9537, allocations: 0.6597 MB / 1.416 GB, free: 8.113 MB / 1.139 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.005191/0.9589, allocations: 3.865 MB / 1.42 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.9601, allocations: 0.4948 MB / 1.42 GB, free: 3.543 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/0.9607, allocations: 242.6 kB / 1.421 GB, free: 3.305 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.9633, allocations: 1.826 MB / 1.422 GB, free: 1.285 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.9634, allocations: 46.5 kB / 1.422 GB, free: 1.23 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 1.804e-06/0.9634, allocations: 0 / 1.422 GB, free: 1.23 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.001904/0.9653, allocations: 0.7341 MB / 1.423 GB, free: 500 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.9653, allocations: 55.41 kB / 1.423 GB, free: 432 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.9674, allocations: 1.542 MB / 1.425 GB, free: 14.87 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.9674, allocations: 37.7 kB / 1.425 GB, free: 14.83 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.968, allocations: 0.6802 MB / 1.425 GB, free: 14.14 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.9681, allocations: 161.8 kB / 1.425 GB, free: 13.98 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.9685, allocations: 250.3 kB / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9686, allocations: 357.9 kB / 1.426 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.9694, allocations: 428.9 kB / 1.426 GB, free: 12.95 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.9704, allocations: 0.6984 MB / 1.427 GB, free: 12.14 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.9721, allocations: 1.027 MB / 1.428 GB, free: 11.02 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.9721, allocations: 4 kB / 1.428 GB, free: 11.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002251/0.9744, allocations: 1.294 MB / 1.429 GB, free: 9.715 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.9744, allocations: 8 kB / 1.429 GB, free: 9.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.9744, allocations: 8 kB / 1.429 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.9745, allocations: 15.98 kB / 1.429 GB, free: 9.684 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.9753, allocations: 236 kB / 1.43 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.9754, allocations: 15.94 kB / 1.43 GB, free: 9.438 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/0.9763, allocations: 122.9 kB / 1.43 GB, free: 9.316 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.9764, allocations: 43.98 kB / 1.43 GB, free: 9.273 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/0.9779, allocations: 0.756 MB / 1.431 GB, free: 8.516 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/0.979, allocations: 0.6944 MB / 1.431 GB, free: 7.707 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001696/0.9807, allocations: 1.022 MB / 1.432 GB, free: 6.582 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/0.9807, allocations: 0 / 1.432 GB, free: 6.582 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002097/0.9828, allocations: 1.274 MB / 1.434 GB, free: 5.297 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.9829, allocations: 9.875 kB / 1.434 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.9829, allocations: 8 kB / 1.434 GB, free: 5.281 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9829, allocations: 19.92 kB / 1.434 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.9837, allocations: 219.7 kB / 1.434 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.9837, allocations: 15.94 kB / 1.434 GB, free: 5.031 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/0.9846, allocations: 111.3 kB / 1.434 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.9847, allocations: 44 kB / 1.434 GB, free: 4.879 MB / 1.154 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.0002143/0.9849, allocations: 235.9 kB / 1.434 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.9851, allocations: 138.2 kB / 1.434 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.9868, allocations: 0.733 MB / 1.435 GB, free: 3.762 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.9881, allocations: 0.7392 MB / 1.436 GB, free: 2.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9881, allocations: 0 / 1.436 GB, free: 2.957 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.9885, allocations: 303 kB / 1.436 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.9887, allocations: 12 kB / 1.436 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.9893, allocations: 43.84 kB / 1.436 GB, free: 2.586 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.9894, allocations: 32.33 kB / 1.436 GB, free: 2.555 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001763/0.9912, allocations: 0.6908 MB / 1.437 GB, free: 1.855 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002018/0.9932, allocations: 1.126 MB / 1.438 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005686/0.9938, allocations: 267.3 kB / 1.438 GB, free: 460 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001437/0.9953, allocations: 1.039 MB / 1.439 GB, free: 15.41 MB / 1.17 GB Notification: Performance of Backend: time 3.6e-07/0.9953, allocations: 0 / 1.439 GB, free: 15.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.999, allocations: 1.756 MB / 1.441 GB, free: 13.66 MB / 1.17 GB Notification: Performance of SimCode: time 0.005557/1.005, allocations: 3.493 MB / 1.444 GB, free: 10.14 MB / 1.17 GB Notification: Performance of Templates: time 0.05125/1.056, allocations: 32.85 MB / 1.476 GB, free: 9.641 MB / 1.201 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