Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002186/0.002186, allocations: 200.1 kB / 16.14 MB, free: 6.629 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.867/2.867, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7636, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2204/0.9841, allocations: 161.2 MB / 1.174 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.9997, allocations: 8.846 MB / 1.183 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/1.001, allocations: 11.94 kB / 1.183 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/1.002, allocations: 294.4 kB / 1.183 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002844/1.005, allocations: 0.6453 MB / 1.184 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006489/1.012, allocations: 1.757 MB / 1.185 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002781/1.015, allocations: 1.801 MB / 1.187 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009677/1.016, allocations: 365.1 kB / 1.187 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/1.02, allocations: 1.288 MB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/1.021, allocations: 454.1 kB / 1.189 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/1.021, allocations: 28 kB / 1.189 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009105/1.03, allocations: 3.527 MB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/1.031, allocations: 143.4 kB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009765/1.032, allocations: 322.5 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006563/1.038, allocations: 2.553 MB / 1.196 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.038, allocations: 0 / 1.196 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.038, allocations: 4 kB / 1.196 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.194e-05/1.038, allocations: 0 / 1.196 GB, free: 10.91 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003036/1.041, allocations: 1.025 MB / 1.197 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.041, allocations: 8.031 kB / 1.197 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/1.043, allocations: 147.2 kB / 1.197 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/1.044, allocations: 413.6 kB / 1.197 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/1.044, allocations: 37.31 kB / 1.197 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.044, allocations: 52 kB / 1.197 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/1.045, allocations: 0.6565 MB / 1.198 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/1.045, allocations: 7.938 kB / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/1.045, allocations: 24 kB / 1.198 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/1.045, allocations: 16 kB / 1.198 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/1.047, allocations: 471.6 kB / 1.198 GB, free: 7.945 MB / 0.9512 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.01719/1.064, allocations: 6.471 MB / 1.205 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/1.064, allocations: 164.8 kB / 1.205 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/1.065, allocations: 121.3 kB / 1.205 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.076, allocations: 3.818 MB / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/1.076, allocations: 34.8 kB / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.414e-06/1.076, allocations: 0 / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08607/1.162, allocations: 30.36 MB / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/1.163, allocations: 136.5 kB / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/1.163, allocations: 461.7 kB / 1.239 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/1.163, allocations: 33.7 kB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/1.164, allocations: 315.4 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.164, allocations: 141.9 kB / 1.239 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/1.164, allocations: 106.1 kB / 1.239 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.164, allocations: 366.7 kB / 1.24 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/1.165, allocations: 177 kB / 1.24 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/1.165, allocations: 353.2 kB / 1.24 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.166, allocations: 0.5214 MB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.166, allocations: 4 kB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001897/1.168, allocations: 0.6899 MB / 1.241 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.168, allocations: 4 kB / 1.241 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.168, allocations: 8 kB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/1.169, allocations: 117.6 kB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/1.169, allocations: 111.8 kB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/1.173, allocations: 3.075 MB / 1.245 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/1.174, allocations: 47.81 kB / 1.245 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.174, allocations: 20.09 kB / 1.245 GB, free: 7.406 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003572/1.174, allocations: 201.7 kB / 1.245 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.174, allocations: 51.44 kB / 1.245 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.176, allocations: 0.6543 MB / 1.246 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.176, allocations: 4 kB / 1.246 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.176, allocations: 0 / 1.246 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.176, allocations: 0 / 1.246 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/1.179, allocations: 1.203 MB / 1.247 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.179, allocations: 4 kB / 1.247 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/1.179, allocations: 71.83 kB / 1.247 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/1.179, allocations: 64.81 kB / 1.247 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/1.179, allocations: 19.92 kB / 1.247 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/1.181, allocations: 1.561 MB / 1.249 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.181, allocations: 7.938 kB / 1.249 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.183, allocations: 0.7205 MB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/1.183, allocations: 128.5 kB / 1.249 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.183, allocations: 15.94 kB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/1.184, allocations: 35.88 kB / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.184, allocations: 35.91 kB / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/1.184, allocations: 12 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005627/1.185, allocations: 362.8 kB / 1.25 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.185, allocations: 4 kB / 1.25 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002271/1.187, allocations: 0.5584 MB / 1.25 GB, free: 1.34 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002871/1.19, allocations: 0.5703 MB / 1.251 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001864/1.192, allocations: 0.6577 MB / 1.252 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.192, allocations: 0 / 1.252 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.505/1.697, allocations: 281.1 kB / 1.252 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.699, allocations: 293.2 kB / 1.252 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/1.701, allocations: 1.323 MB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/1.702, allocations: 0.8627 MB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007502/1.703, allocations: 112.7 kB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/1.703, allocations: 48.5 kB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.944e-06/1.703, allocations: 0 / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04886/1.752, allocations: 22.53 MB / 1.276 GB, free: 216.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches