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.001469/0.001469, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.00151/0.00151, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.503/1.503, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.699/2.699, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.95 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3511, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7789/1.13, allocations: 163.2 MB / 1.177 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01266/1.143, allocations: 8.137 MB / 1.185 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008601/1.144, allocations: 18.84 kB / 1.185 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/1.145, allocations: 338.5 kB / 1.186 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/1.147, allocations: 0.7249 MB / 1.186 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006196/1.154, allocations: 2.132 MB / 1.188 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002095/1.156, allocations: 1.372 MB / 1.19 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/1.156, allocations: 427.8 kB / 1.19 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/1.16, allocations: 1.417 MB / 1.192 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007079/1.161, allocations: 436.9 kB / 1.192 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/1.161, allocations: 53.5 kB / 1.192 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007942/1.169, allocations: 3.525 MB / 1.196 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002836/1.169, allocations: 156.2 kB / 1.196 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000625/1.17, allocations: 357.2 kB / 1.196 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004689/1.175, allocations: 2.577 MB / 1.199 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.175, allocations: 2.156 kB / 1.199 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.563e-06/1.175, allocations: 0 / 1.199 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.125e-05/1.175, allocations: 0 / 1.199 GB, free: 12.54 MB / 0.9044 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.002332/1.177, allocations: 1.02 MB / 1.2 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.177, allocations: 11.56 kB / 1.2 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.178, allocations: 139.4 kB / 1.2 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/1.179, allocations: 418.3 kB / 1.2 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/1.179, allocations: 37.47 kB / 1.2 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/1.179, allocations: 51.06 kB / 1.2 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.18, allocations: 0.6609 MB / 1.201 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.18, allocations: 7.922 kB / 1.201 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/1.18, allocations: 23.78 kB / 1.201 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/1.18, allocations: 14.47 kB / 1.201 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009575/1.181, allocations: 469.2 kB / 1.201 GB, free: 10.57 MB / 0.9044 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.01626/1.198, allocations: 6.475 MB / 1.208 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/1.198, allocations: 168.4 kB / 1.208 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/1.198, allocations: 114.8 kB / 1.208 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/1.21, allocations: 3.809 MB / 1.212 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.773e-05/1.211, allocations: 46.73 kB / 1.212 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/1.211, allocations: 0 / 1.212 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.08843/1.299, allocations: 30.36 MB / 1.241 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/1.299, allocations: 136.5 kB / 1.241 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/1.3, allocations: 465.7 kB / 1.242 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/1.3, allocations: 33.7 kB / 1.242 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/1.3, allocations: 303.5 kB / 1.242 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.3, allocations: 142 kB / 1.242 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/1.3, allocations: 102.1 kB / 1.242 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.301, allocations: 358.8 kB / 1.243 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/1.301, allocations: 181 kB / 1.243 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/1.302, allocations: 357.2 kB / 1.243 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/1.303, allocations: 0.5211 MB / 1.244 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.303, allocations: 0 / 1.244 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001818/1.304, allocations: 0.7012 MB / 1.244 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.305, allocations: 6.656 kB / 1.244 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.305, allocations: 4 kB / 1.244 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/1.305, allocations: 122.4 kB / 1.245 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/1.306, allocations: 119.8 kB / 1.245 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/1.309, allocations: 3.412 MB / 1.248 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/1.31, allocations: 27.98 kB / 1.248 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/1.31, allocations: 24.08 kB / 1.248 GB, free: 12.91 MB / 0.9512 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.0003118/1.31, allocations: 193.6 kB / 1.248 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/1.31, allocations: 63.34 kB / 1.248 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/1.312, allocations: 0.6479 MB / 1.249 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.312, allocations: 7.938 kB / 1.249 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.312, allocations: 0 / 1.249 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.312, allocations: 7.922 kB / 1.249 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/1.314, allocations: 1.195 MB / 1.25 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.314, allocations: 8.031 kB / 1.25 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/1.315, allocations: 63.89 kB / 1.25 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/1.315, allocations: 68.75 kB / 1.25 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.315, allocations: 12 kB / 1.25 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/1.317, allocations: 1.752 MB / 1.252 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.317, allocations: 4 kB / 1.252 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/1.318, allocations: 0.7178 MB / 1.253 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/1.319, allocations: 124.5 kB / 1.253 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/1.319, allocations: 15.98 kB / 1.253 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/1.319, allocations: 28.05 kB / 1.253 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/1.319, allocations: 31.84 kB / 1.253 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/1.319, allocations: 20 kB / 1.253 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000498/1.32, allocations: 354.8 kB / 1.253 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.32, allocations: 4 kB / 1.253 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002024/1.322, allocations: 0.5545 MB / 1.254 GB, free: 6.68 MB / 0.9512 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.002021/1.324, allocations: 0.5657 MB / 1.254 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001601/1.325, allocations: 0.6777 MB / 1.255 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.325, allocations: 4 kB / 1.255 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/1.326, allocations: 279.2 kB / 1.255 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.328, allocations: 323.5 kB / 1.256 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/1.33, allocations: 1.157 MB / 1.257 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/1.33, allocations: 0.8589 MB / 1.258 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.33, allocations: 55.42 kB / 1.258 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/1.33, allocations: 4 kB / 1.258 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of Templates: time 0.03124/1.362, allocations: 19.81 MB / 1.277 GB, free: 14.99 MB / 0.9825 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/jenkins1/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