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.001187/0.001187, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001099/0.001099, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.1 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.369/2.369, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8722, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04383/0.9161, allocations: 37.33 MB / 1.204 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1721/1.088, allocations: 148.6 MB / 1.349 GB, free: 9.238 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/1.091, allocations: 51.75 kB / 1.349 GB, free: 9.188 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/1.096, allocations: 1.594 MB / 1.35 GB, free: 7.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006457/1.103, allocations: 2.148 MB / 1.353 GB, free: 5.434 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/1.107, allocations: 1.506 MB / 1.354 GB, free: 3.934 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01012/1.117, allocations: 6.195 MB / 1.36 GB, free: 13.72 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/1.12, allocations: 1.133 MB / 1.361 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/1.124, allocations: 1.502 MB / 1.363 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/1.126, allocations: 1 MB / 1.364 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005146/1.127, allocations: 120 kB / 1.364 GB, free: 9.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/1.13, allocations: 1.127 MB / 1.365 GB, free: 8.801 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008818/1.131, allocations: 0.5101 MB / 1.365 GB, free: 8.289 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001827/1.132, allocations: 0.8667 MB / 1.366 GB, free: 7.418 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005486/1.138, allocations: 2.726 MB / 1.369 GB, free: 4.684 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.138, allocations: 0 / 1.369 GB, free: 4.684 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.014e-06/1.138, allocations: 4 kB / 1.369 GB, free: 4.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.685e-05/1.138, allocations: 4 kB / 1.369 GB, free: 4.676 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.005194/1.143, allocations: 2.077 MB / 1.371 GB, free: 2.531 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.143, allocations: 16.88 kB / 1.371 GB, free: 2.516 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/1.145, allocations: 353.6 kB / 1.371 GB, free: 2.168 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/1.15, allocations: 2.177 MB / 1.373 GB, free: 15.94 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/1.15, allocations: 61.91 kB / 1.373 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/1.151, allocations: 80 kB / 1.374 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/1.152, allocations: 0.8541 MB / 1.374 GB, free: 14.91 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/1.153, allocations: 8 kB / 1.374 GB, free: 14.91 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/1.153, allocations: 24 kB / 1.374 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/1.153, allocations: 34 kB / 1.374 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/1.154, allocations: 0.6557 MB / 1.375 GB, free: 14.2 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.00669/1.161, allocations: 3.857 MB / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/1.162, allocations: 0.498 MB / 1.379 GB, free: 9.629 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/1.163, allocations: 239.3 kB / 1.38 GB, free: 9.395 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003499/1.166, allocations: 1.833 MB / 1.381 GB, free: 7.367 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.167, allocations: 34.56 kB / 1.381 GB, free: 7.324 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/1.167, allocations: 4 kB / 1.381 GB, free: 7.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002041/1.169, allocations: 0.7274 MB / 1.382 GB, free: 6.586 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/1.169, allocations: 59.41 kB / 1.382 GB, free: 6.516 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.171, allocations: 1.546 MB / 1.384 GB, free: 4.961 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.171, allocations: 41.69 kB / 1.384 GB, free: 4.914 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006464/1.172, allocations: 0.6724 MB / 1.384 GB, free: 4.234 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.172, allocations: 165.7 kB / 1.384 GB, free: 4.07 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/1.173, allocations: 250.3 kB / 1.385 GB, free: 3.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.173, allocations: 353.9 kB / 1.385 GB, free: 3.469 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/1.174, allocations: 428.9 kB / 1.385 GB, free: 3.047 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.175, allocations: 0.6984 MB / 1.386 GB, free: 2.238 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.176, allocations: 1.027 MB / 1.387 GB, free: 1.113 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.177, allocations: 7.938 kB / 1.387 GB, free: 1.105 MB / 1.107 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002553/1.179, allocations: 1.29 MB / 1.388 GB, free: 15.8 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/1.179, allocations: 11.98 kB / 1.388 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.179, allocations: 8 kB / 1.388 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/1.179, allocations: 12.41 kB / 1.388 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/1.18, allocations: 235.6 kB / 1.389 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.18, allocations: 16.02 kB / 1.389 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.181, allocations: 130.9 kB / 1.389 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/1.181, allocations: 47.97 kB / 1.389 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/1.183, allocations: 0.7559 MB / 1.39 GB, free: 14.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000936/1.183, allocations: 0.6947 MB / 1.39 GB, free: 13.79 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001478/1.185, allocations: 1.018 MB / 1.391 GB, free: 12.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/1.185, allocations: 0 / 1.391 GB, free: 12.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002279/1.187, allocations: 1.273 MB / 1.393 GB, free: 11.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.187, allocations: 8 kB / 1.393 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.187, allocations: 8 kB / 1.393 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.187, allocations: 12 kB / 1.393 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/1.188, allocations: 228 kB / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.188, allocations: 19.92 kB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.189, allocations: 103.8 kB / 1.393 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/1.189, allocations: 44 kB / 1.393 GB, free: 10.98 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.0002747/1.19, allocations: 235.9 kB / 1.393 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/1.19, allocations: 146.2 kB / 1.393 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/1.192, allocations: 0.7221 MB / 1.394 GB, free: 9.867 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.192, allocations: 11.98 kB / 1.394 GB, free: 9.855 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.192, allocations: 4 kB / 1.394 GB, free: 9.852 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/1.193, allocations: 0.7431 MB / 1.395 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/1.196, allocations: 1.802 MB / 1.396 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.196, allocations: 0 / 1.396 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/1.197, allocations: 112 kB / 1.397 GB, free: 7.062 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.197, allocations: 0 / 1.397 GB, free: 7.062 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/1.197, allocations: 23.92 kB / 1.397 GB, free: 7.039 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/1.197, allocations: 4 kB / 1.397 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.197, allocations: 0 / 1.397 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/1.199, allocations: 1.043 MB / 1.398 GB, free: 5.961 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/1.2, allocations: 303 kB / 1.398 GB, free: 5.645 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/1.2, allocations: 19.92 kB / 1.398 GB, free: 5.625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/1.2, allocations: 31.97 kB / 1.398 GB, free: 5.594 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/1.2, allocations: 31.95 kB / 1.398 GB, free: 5.562 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/1.201, allocations: 27.98 kB / 1.398 GB, free: 5.535 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001529/1.202, allocations: 1.036 MB / 1.399 GB, free: 4.504 MB / 1.123 GB Notification: Performance of sort global known variables: time 5.21e-07/1.202, allocations: 0 / 1.399 GB, free: 4.504 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002038/1.204, allocations: 0.7447 MB / 1.4 GB, free: 3.758 MB / 1.123 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.001316/1.205, allocations: 0.5202 MB / 1.4 GB, free: 3.238 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002955/1.208, allocations: 1.447 MB / 1.402 GB, free: 1.797 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.208, allocations: 0 / 1.402 GB, free: 1.797 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/1.209, allocations: 285.6 kB / 1.402 GB, free: 1.52 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.212, allocations: 0.7017 MB / 1.403 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/1.217, allocations: 2.631 MB / 1.405 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/1.218, allocations: 1.295 MB / 1.406 GB, free: 12.83 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.218, allocations: 127.4 kB / 1.407 GB, free: 12.71 MB / 1.139 GB Notification: Performance of SimCode: time 8.51e-07/1.218, allocations: 0 / 1.407 GB, free: 12.71 MB / 1.139 GB Notification: Performance of Templates: time 0.04038/1.258, allocations: 26.17 MB / 1.432 GB, free: 2.73 MB / 1.154 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