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.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.89 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03792/0.3152, allocations: 37.32 MB / 1.105 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.7503/1.066, allocations: 148.6 MB / 1.25 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/1.067, allocations: 53.94 kB / 1.25 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007727/1.075, allocations: 4.01 MB / 1.254 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/1.08, allocations: 1.97 MB / 1.256 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/1.083, allocations: 1.428 MB / 1.257 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007489/1.09, allocations: 6.071 MB / 1.263 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/1.092, allocations: 1.111 MB / 1.264 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/1.095, allocations: 1.435 MB / 1.265 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/1.096, allocations: 0.9589 MB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/1.096, allocations: 115.4 kB / 1.267 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/1.099, allocations: 1.117 MB / 1.268 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006511/1.1, allocations: 0.5027 MB / 1.268 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/1.101, allocations: 0.8477 MB / 1.269 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/1.105, allocations: 2.659 MB / 1.272 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.105, allocations: 0.5 kB / 1.272 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.105, allocations: 5.031 kB / 1.272 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.042e-05/1.105, allocations: 0.5625 kB / 1.272 GB, free: 5.633 MB / 0.9981 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.004502/1.11, allocations: 2.054 MB / 1.274 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/1.11, allocations: 15.14 kB / 1.274 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.112, allocations: 358.7 kB / 1.274 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/1.115, allocations: 2.092 MB / 1.276 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/1.115, allocations: 62.03 kB / 1.276 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.116, allocations: 84.66 kB / 1.276 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.117, allocations: 0.8499 MB / 1.277 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/1.117, allocations: 3.797 kB / 1.277 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/1.117, allocations: 35 kB / 1.277 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/1.117, allocations: 30.33 kB / 1.277 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/1.119, allocations: 0.6673 MB / 1.278 GB, free: 19.84 MB / 1.014 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.005389/1.124, allocations: 3.876 MB / 1.281 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/1.126, allocations: 0.5161 MB / 1.282 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/1.126, allocations: 243.9 kB / 1.282 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002777/1.129, allocations: 1.802 MB / 1.284 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/1.129, allocations: 38.22 kB / 1.284 GB, free: 16.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/1.129, allocations: 0 / 1.284 GB, free: 16.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.001917/1.131, allocations: 0.7377 MB / 1.285 GB, free: 16.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/1.131, allocations: 56.44 kB / 1.285 GB, free: 16.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/1.133, allocations: 1.526 MB / 1.286 GB, free: 16.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/1.133, allocations: 37.14 kB / 1.286 GB, free: 16.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/1.133, allocations: 0.6749 MB / 1.287 GB, free: 16.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.134, allocations: 160.9 kB / 1.287 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/1.134, allocations: 254 kB / 1.287 GB, free: 16.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.134, allocations: 357 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/1.135, allocations: 431.7 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009617/1.136, allocations: 0.7036 MB / 1.289 GB, free: 15.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/1.137, allocations: 1.035 MB / 1.29 GB, free: 15.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.137, allocations: 6.688 kB / 1.29 GB, free: 15.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002425/1.14, allocations: 1.298 MB / 1.291 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.14, allocations: 8.188 kB / 1.291 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.14, allocations: 11.72 kB / 1.291 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.14, allocations: 12.5 kB / 1.291 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/1.141, allocations: 233.8 kB / 1.291 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.141, allocations: 16.05 kB / 1.291 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.142, allocations: 133 kB / 1.291 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/1.142, allocations: 45.14 kB / 1.291 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/1.143, allocations: 0.7489 MB / 1.292 GB, free: 15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008609/1.144, allocations: 0.6949 MB / 1.293 GB, free: 14.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001397/1.146, allocations: 1.018 MB / 1.294 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/1.146, allocations: 2.406 kB / 1.294 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.0022/1.148, allocations: 1.284 MB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.148, allocations: 10.28 kB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.148, allocations: 7.844 kB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.148, allocations: 11.56 kB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/1.149, allocations: 231.5 kB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.149, allocations: 19.44 kB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.15, allocations: 107.6 kB / 1.295 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/1.15, allocations: 43.41 kB / 1.296 GB, free: 14.26 MB / 1.014 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.0002568/1.15, allocations: 232.3 kB / 1.296 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.15, allocations: 141.4 kB / 1.296 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.152, allocations: 0.7331 MB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.152, allocations: 6.188 kB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.152, allocations: 0 / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/1.153, allocations: 0.7457 MB / 1.297 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/1.156, allocations: 1.788 MB / 1.299 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.156, allocations: 0 / 1.299 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/1.157, allocations: 111 kB / 1.299 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.157, allocations: 2.844 kB / 1.299 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/1.157, allocations: 17.25 kB / 1.299 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.157, allocations: 5.797 kB / 1.299 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.157, allocations: 11.44 kB / 1.299 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/1.159, allocations: 1.048 MB / 1.3 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/1.159, allocations: 296.3 kB / 1.301 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/1.16, allocations: 12.56 kB / 1.301 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/1.16, allocations: 46.56 kB / 1.301 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/1.16, allocations: 35.8 kB / 1.301 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/1.16, allocations: 21.3 kB / 1.301 GB, free: 12.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001224/1.162, allocations: 1.023 MB / 1.302 GB, free: 12.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.162, allocations: 0 / 1.302 GB, free: 12.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002176/1.164, allocations: 0.7478 MB / 1.302 GB, free: 12.54 MB / 1.014 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.001092/1.165, allocations: 0.531 MB / 1.303 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002695/1.168, allocations: 1.488 MB / 1.304 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.168, allocations: 0 / 1.304 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/1.168, allocations: 276.5 kB / 1.305 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.171, allocations: 0.7126 MB / 1.305 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/1.174, allocations: 2.568 MB / 1.308 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/1.175, allocations: 1.293 MB / 1.309 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001534/1.177, allocations: 395.6 kB / 1.309 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/1.177, allocations: 126 kB / 1.31 GB, free: 10.29 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/1.177, allocations: 0 / 1.31 GB, free: 10.29 MB / 1.014 GB Notification: Performance of Templates: time 0.04538/1.223, allocations: 28.84 MB / 1.338 GB, free: 1.602 MB / 1.014 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/jenkins/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