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.001728/0.001728, allocations: 108 kB / 15.6 MB, free: 132 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.001981/0.001981, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.556/2.556, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.88 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5866, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1665/0.7531, allocations: 163.2 MB / 1.177 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009931/0.7631, allocations: 8.13 MB / 1.185 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.7638, allocations: 11.94 kB / 1.185 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009532/0.7647, allocations: 353.8 kB / 1.185 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.7665, allocations: 0.7151 MB / 1.186 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00459/0.7711, allocations: 2.134 MB / 1.188 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.7726, allocations: 1.364 MB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.7731, allocations: 433.5 kB / 1.19 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.7761, allocations: 1.416 MB / 1.191 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.7766, allocations: 438.2 kB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.7767, allocations: 55.94 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006092/0.7828, allocations: 3.531 MB / 1.195 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.783, allocations: 155.4 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.7834, allocations: 350.4 kB / 1.195 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.787, allocations: 2.576 MB / 1.198 GB, free: 9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7871, allocations: 0 / 1.198 GB, free: 9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7871, allocations: 4 kB / 1.198 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.7871, allocations: 0 / 1.198 GB, free: 8.996 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.001916/0.789, allocations: 1.025 MB / 1.199 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7891, allocations: 8.031 kB / 1.199 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.7902, allocations: 135.2 kB / 1.199 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.7908, allocations: 417.5 kB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.7908, allocations: 37.31 kB / 1.199 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.7909, allocations: 56 kB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.792, allocations: 0.6642 MB / 1.2 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.792, allocations: 0 / 1.2 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.7921, allocations: 24 kB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.7921, allocations: 20 kB / 1.2 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.7931, allocations: 467.5 kB / 1.201 GB, free: 6.031 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.01594/0.8091, allocations: 6.475 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.8095, allocations: 168.3 kB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.8098, allocations: 117.3 kB / 1.207 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.8217, allocations: 3.814 MB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.8217, allocations: 42.78 kB / 1.211 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.8218, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08684/0.9086, allocations: 30.36 MB / 1.241 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.9087, allocations: 132.5 kB / 1.241 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.9092, allocations: 465.7 kB / 1.241 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.9093, allocations: 33.7 kB / 1.241 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.9095, allocations: 303.5 kB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.9096, allocations: 142 kB / 1.242 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.9098, allocations: 106.1 kB / 1.242 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.91, allocations: 362.8 kB / 1.242 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.9104, allocations: 177 kB / 1.242 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.9109, allocations: 357.2 kB / 1.243 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.9119, allocations: 0.517 MB / 1.243 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9119, allocations: 0 / 1.243 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001716/0.9136, allocations: 0.6927 MB / 1.244 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9136, allocations: 8 kB / 1.244 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9137, allocations: 8.031 kB / 1.244 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/0.9142, allocations: 117.6 kB / 1.244 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.9147, allocations: 115.8 kB / 1.244 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.918, allocations: 3.413 MB / 1.247 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.9186, allocations: 36.06 kB / 1.247 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.9186, allocations: 23.94 kB / 1.247 GB, free: 5.148 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.0003064/0.919, allocations: 189.7 kB / 1.248 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.9192, allocations: 59.28 kB / 1.248 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.9207, allocations: 0.6549 MB / 1.248 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9207, allocations: 11.94 kB / 1.248 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.9207, allocations: 0 / 1.248 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9207, allocations: 0 / 1.248 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.9228, allocations: 1.203 MB / 1.249 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.9228, allocations: 4 kB / 1.249 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.9232, allocations: 67.89 kB / 1.25 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.9234, allocations: 69.31 kB / 1.25 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.9235, allocations: 15.98 kB / 1.25 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.9251, allocations: 1.736 MB / 1.251 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.9252, allocations: 7.938 kB / 1.251 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.9266, allocations: 0.7168 MB / 1.252 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.501/1.428, allocations: 120.9 kB / 1.252 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/1.428, allocations: 12.41 kB / 1.252 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/1.428, allocations: 21.05 kB / 1.252 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.428, allocations: 40.14 kB / 1.252 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/1.428, allocations: 17.44 kB / 1.252 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005571/1.429, allocations: 359.1 kB / 1.253 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.429, allocations: 0 / 1.253 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00192/1.431, allocations: 0.5562 MB / 1.253 GB, free: 221.1 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.001971/1.433, allocations: 0.5635 MB / 1.254 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.435, allocations: 0.6823 MB / 1.254 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.435, allocations: 1.469 kB / 1.254 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005544/1.435, allocations: 280.3 kB / 1.255 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.437, allocations: 314.4 kB / 1.255 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/1.439, allocations: 1.128 MB / 1.256 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/1.439, allocations: 0.8652 MB / 1.257 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005127/1.439, allocations: 110.7 kB / 1.257 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/1.44, allocations: 45.77 kB / 1.257 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.44, allocations: 0 / 1.257 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03701/1.477, allocations: 23.11 MB / 1.28 GB, free: 215.5 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=480 -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