Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.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_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001251/0.001252, allocations: 112.2 kB / 16.42 MB, free: 6.488 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.001395/0.001395, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.475/1.475, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.11 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8473, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03771/0.885, allocations: 37.33 MB / 1.204 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.153/1.038, allocations: 148.6 MB / 1.349 GB, free: 9.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/1.04, allocations: 51.75 kB / 1.349 GB, free: 9.199 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004834/1.045, allocations: 1.594 MB / 1.35 GB, free: 7.602 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005843/1.051, allocations: 2.149 MB / 1.353 GB, free: 5.445 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/1.055, allocations: 1.513 MB / 1.354 GB, free: 3.938 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009111/1.064, allocations: 6.198 MB / 1.36 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/1.066, allocations: 1.133 MB / 1.361 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/1.07, allocations: 1.509 MB / 1.363 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/1.072, allocations: 0.9805 MB / 1.364 GB, free: 10.07 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004758/1.073, allocations: 120 kB / 1.364 GB, free: 9.949 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/1.076, allocations: 1.131 MB / 1.365 GB, free: 8.816 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000765/1.076, allocations: 0.514 MB / 1.365 GB, free: 8.301 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/1.078, allocations: 0.8589 MB / 1.366 GB, free: 7.438 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004594/1.083, allocations: 2.742 MB / 1.369 GB, free: 4.688 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.083, allocations: 0 / 1.369 GB, free: 4.688 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/1.083, allocations: 0 / 1.369 GB, free: 4.688 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.121e-05/1.083, allocations: 0 / 1.369 GB, free: 4.688 MB / 1.092 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.004757/1.087, allocations: 2.077 MB / 1.371 GB, free: 2.543 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.088, allocations: 16.88 kB / 1.371 GB, free: 2.527 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/1.089, allocations: 349.6 kB / 1.371 GB, free: 2.184 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/1.093, allocations: 2.178 MB / 1.373 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/1.093, allocations: 62 kB / 1.373 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/1.094, allocations: 80 kB / 1.374 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/1.095, allocations: 0.8541 MB / 1.374 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/1.095, allocations: 7.938 kB / 1.374 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/1.095, allocations: 28 kB / 1.374 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/1.095, allocations: 30 kB / 1.374 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/1.097, allocations: 0.6597 MB / 1.375 GB, free: 14.21 MB / 1.107 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.00595/1.103, allocations: 3.857 MB / 1.379 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/1.104, allocations: 0.4992 MB / 1.379 GB, free: 9.637 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/1.105, allocations: 236.7 kB / 1.38 GB, free: 9.402 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002895/1.108, allocations: 1.837 MB / 1.381 GB, free: 7.371 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.108, allocations: 38.55 kB / 1.381 GB, free: 7.324 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.935e-06/1.108, allocations: 0 / 1.381 GB, free: 7.324 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002038/1.11, allocations: 0.7313 MB / 1.382 GB, free: 6.586 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.11, allocations: 55.41 kB / 1.382 GB, free: 6.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/1.112, allocations: 1.542 MB / 1.384 GB, free: 4.969 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/1.112, allocations: 37.7 kB / 1.384 GB, free: 4.926 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/1.113, allocations: 0.6802 MB / 1.384 GB, free: 4.238 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.113, allocations: 157.7 kB / 1.385 GB, free: 4.082 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/1.114, allocations: 258.3 kB / 1.385 GB, free: 3.824 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.114, allocations: 353.9 kB / 1.385 GB, free: 3.473 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/1.115, allocations: 424.9 kB / 1.385 GB, free: 3.055 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.116, allocations: 0.7023 MB / 1.386 GB, free: 2.242 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/1.117, allocations: 1.027 MB / 1.387 GB, free: 1.117 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/1.117, allocations: 4 kB / 1.387 GB, free: 1.113 MB / 1.107 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002319/1.12, allocations: 1.291 MB / 1.388 GB, free: 15.81 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.12, allocations: 11.98 kB / 1.388 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.12, allocations: 8 kB / 1.388 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/1.12, allocations: 12 kB / 1.388 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.12, allocations: 231.6 kB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/1.12, allocations: 12 kB / 1.389 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.122, allocations: 130.9 kB / 1.389 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.122, allocations: 43.98 kB / 1.389 GB, free: 15.37 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/1.123, allocations: 0.7521 MB / 1.39 GB, free: 14.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009085/1.124, allocations: 0.6947 MB / 1.39 GB, free: 13.81 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001461/1.125, allocations: 1.022 MB / 1.391 GB, free: 12.7 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/1.125, allocations: 3.938 kB / 1.391 GB, free: 12.69 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002187/1.128, allocations: 1.269 MB / 1.393 GB, free: 11.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.128, allocations: 11.98 kB / 1.393 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.128, allocations: 8.438 kB / 1.393 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.128, allocations: 16 kB / 1.393 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/1.128, allocations: 219.7 kB / 1.393 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.128, allocations: 23.86 kB / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/1.129, allocations: 107.8 kB / 1.393 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/1.129, allocations: 44 kB / 1.393 GB, free: 10.99 MB / 1.123 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.0002635/1.13, allocations: 235.9 kB / 1.393 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.13, allocations: 142.2 kB / 1.393 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/1.132, allocations: 0.7211 MB / 1.394 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/1.133, allocations: 0.747 MB / 1.395 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.133, allocations: 3.938 kB / 1.395 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/1.134, allocations: 299 kB / 1.395 GB, free: 8.754 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.134, allocations: 12 kB / 1.395 GB, free: 8.742 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/1.135, allocations: 47.89 kB / 1.395 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/1.135, allocations: 24.41 kB / 1.395 GB, free: 8.668 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00177/1.136, allocations: 0.6985 MB / 1.396 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002101/1.138, allocations: 1.126 MB / 1.397 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005655/1.139, allocations: 263.4 kB / 1.397 GB, free: 6.559 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001575/1.141, allocations: 1.036 MB / 1.398 GB, free: 5.527 MB / 1.123 GB Notification: Performance of Backend: time 3.81e-07/1.141, allocations: 4 kB / 1.398 GB, free: 5.523 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004416/1.145, allocations: 1.78 MB / 1.4 GB, free: 3.762 MB / 1.123 GB Notification: Performance of SimCode: time 0.006174/1.151, allocations: 3.49 MB / 1.403 GB, free: 244 kB / 1.123 GB Notification: Performance of Templates: time 0.05661/1.208, allocations: 33.07 MB / 1.436 GB, free: 15.5 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches