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.008309/0.008309, allocations: 101 kB / 15.73 MB, free: 6.043 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.001725/0.001725, allocations: 201.5 kB / 16.68 MB, free: 5.965 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2848, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.634/0.9188, allocations: 37.39 MB / 1.257 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1771/1.096, allocations: 149 MB / 1.403 GB, free: 3.727 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/1.098, allocations: 49.56 kB / 1.403 GB, free: 3.711 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005299/1.104, allocations: 1.612 MB / 1.404 GB, free: 2.617 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006534/1.11, allocations: 2.149 MB / 1.406 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/1.114, allocations: 1.504 MB / 1.408 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01008/1.124, allocations: 6.222 MB / 1.414 GB, free: 12.56 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/1.126, allocations: 0.9359 MB / 1.415 GB, free: 11.87 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/1.131, allocations: 1.5 MB / 1.416 GB, free: 10.97 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/1.133, allocations: 0.9978 MB / 1.417 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004897/1.133, allocations: 120.7 kB / 1.417 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/1.137, allocations: 1.132 MB / 1.418 GB, free: 9.77 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007258/1.138, allocations: 0.5202 MB / 1.419 GB, free: 9.406 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/1.139, allocations: 0.8638 MB / 1.42 GB, free: 8.816 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005782/1.145, allocations: 2.733 MB / 1.422 GB, free: 6.559 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.145, allocations: 0 / 1.422 GB, free: 6.559 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.272e-06/1.145, allocations: 0 / 1.422 GB, free: 6.559 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.303e-05/1.145, allocations: 0 / 1.422 GB, free: 6.559 MB / 1.107 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.00492/1.15, allocations: 2.15 MB / 1.425 GB, free: 4.34 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.15, allocations: 11.98 kB / 1.425 GB, free: 4.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.152, allocations: 368.2 kB / 1.425 GB, free: 3.969 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/1.156, allocations: 2.186 MB / 1.427 GB, free: 1.734 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/1.156, allocations: 58 kB / 1.427 GB, free: 1.676 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/1.156, allocations: 84 kB / 1.427 GB, free: 1.594 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/1.158, allocations: 0.8502 MB / 1.428 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.158, allocations: 0 / 1.428 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/1.158, allocations: 39.94 kB / 1.428 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/1.158, allocations: 30 kB / 1.428 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/1.16, allocations: 0.6557 MB / 1.429 GB, free: 15.99 MB / 1.123 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.005895/1.166, allocations: 3.873 MB / 1.433 GB, free: 11.91 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.167, allocations: 490.6 kB / 1.433 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/1.167, allocations: 228.7 kB / 1.433 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002868/1.17, allocations: 1.818 MB / 1.435 GB, free: 9.184 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.17, allocations: 34.56 kB / 1.435 GB, free: 9.141 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/1.17, allocations: 0 / 1.435 GB, free: 9.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=43): time 0.001996/1.172, allocations: 0.7399 MB / 1.436 GB, free: 8.395 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.172, allocations: 55.41 kB / 1.436 GB, free: 8.328 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/1.175, allocations: 1.546 MB / 1.437 GB, free: 6.773 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/1.175, allocations: 37.7 kB / 1.437 GB, free: 6.73 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/1.175, allocations: 0.6814 MB / 1.438 GB, free: 6.043 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/1.176, allocations: 170.6 kB / 1.438 GB, free: 5.875 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/1.176, allocations: 258.5 kB / 1.438 GB, free: 5.613 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.176, allocations: 353.9 kB / 1.439 GB, free: 5.262 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/1.177, allocations: 428.9 kB / 1.439 GB, free: 4.844 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.178, allocations: 0.6983 MB / 1.44 GB, free: 4.035 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/1.18, allocations: 1.031 MB / 1.441 GB, free: 2.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/1.18, allocations: 4.5 kB / 1.441 GB, free: 2.906 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002443/1.182, allocations: 1.295 MB / 1.442 GB, free: 1.602 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.182, allocations: 11.98 kB / 1.442 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.182, allocations: 8 kB / 1.442 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.182, allocations: 12 kB / 1.442 GB, free: 1.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/1.183, allocations: 237.2 kB / 1.442 GB, free: 1.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/1.183, allocations: 19.88 kB / 1.442 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.184, allocations: 139.1 kB / 1.443 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/1.184, allocations: 43.98 kB / 1.443 GB, free: 1.141 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001237/1.185, allocations: 0.7442 MB / 1.443 GB, free: 404 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009578/1.186, allocations: 0.6945 MB / 1.444 GB, free: 15.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/1.188, allocations: 1.026 MB / 1.445 GB, free: 14.46 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.381e-06/1.188, allocations: 8 kB / 1.445 GB, free: 14.46 MB / 1.139 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002256/1.19, allocations: 1.278 MB / 1.446 GB, free: 13.17 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.19, allocations: 8 kB / 1.446 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.19, allocations: 8 kB / 1.446 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.19, allocations: 12 kB / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/1.191, allocations: 220.1 kB / 1.446 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/1.191, allocations: 23.73 kB / 1.446 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.192, allocations: 103.5 kB / 1.447 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/1.192, allocations: 40 kB / 1.447 GB, free: 12.77 MB / 1.139 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.0002486/1.192, allocations: 245.6 kB / 1.447 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/1.193, allocations: 154.9 kB / 1.447 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/1.194, allocations: 0.7252 MB / 1.448 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.194, allocations: 4 kB / 1.448 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.194, allocations: 0 / 1.448 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/1.196, allocations: 0.7392 MB / 1.448 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/1.199, allocations: 1.794 MB / 1.45 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.199, allocations: 4 kB / 1.45 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/1.2, allocations: 108 kB / 1.45 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.2, allocations: 4 kB / 1.45 GB, free: 8.848 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/1.2, allocations: 15.98 kB / 1.45 GB, free: 8.832 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.2, allocations: 4.438 kB / 1.45 GB, free: 8.828 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.2, allocations: 4 kB / 1.45 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/1.202, allocations: 1.052 MB / 1.451 GB, free: 7.742 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/1.202, allocations: 312 kB / 1.452 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.203, allocations: 11.5 kB / 1.452 GB, free: 7.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/1.203, allocations: 44.67 kB / 1.452 GB, free: 7.367 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/1.203, allocations: 35.89 kB / 1.452 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/1.203, allocations: 19.98 kB / 1.452 GB, free: 7.312 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001553/1.205, allocations: 1.039 MB / 1.453 GB, free: 6.277 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/1.205, allocations: 0 / 1.453 GB, free: 6.277 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001981/1.207, allocations: 0.7525 MB / 1.453 GB, free: 5.523 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],hIn.h_out,hOut.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/1.208, allocations: 0.5327 MB / 1.454 GB, free: 4.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.211, allocations: 1.318 MB / 1.455 GB, free: 3.684 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.211, allocations: 3.938 kB / 1.455 GB, free: 3.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/1.211, allocations: 256.2 kB / 1.456 GB, free: 3.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/1.214, allocations: 0.7029 MB / 1.456 GB, free: 2.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/1.218, allocations: 2.583 MB / 1.459 GB, free: 120 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/1.219, allocations: 1.295 MB / 1.46 GB, free: 14.79 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001368/1.221, allocations: 407.3 kB / 1.46 GB, free: 14.39 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/1.221, allocations: 119.3 kB / 1.461 GB, free: 14.27 MB / 1.154 GB Notification: Performance of SimCode: time 1.012e-06/1.221, allocations: 4 kB / 1.461 GB, free: 14.27 MB / 1.154 GB Notification: Performance of Templates: time 0.04603/1.267, allocations: 29.17 MB / 1.489 GB, free: 1.469 MB / 1.17 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=480 -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/jenkins/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