Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 99.11 kB / 16.02 MB, free: 76 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.0009882/0.0009883, allocations: 183 kB / 16.92 MB, free: 6.918 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 11.98 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.6539, allocations: 153.8 MB / 1.024 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1664/0.8203, allocations: 158.5 MB / 1.179 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.8338, allocations: 9.663 MB / 1.188 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007427/0.8346, allocations: 15.88 kB / 1.188 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.8357, allocations: 282.5 kB / 1.188 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.8386, allocations: 0.9607 MB / 1.189 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.8433, allocations: 1.735 MB / 1.191 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.8454, allocations: 1.813 MB / 1.193 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.8462, allocations: 372.5 kB / 1.193 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/0.8513, allocations: 1.899 MB / 1.195 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.8541, allocations: 1.299 MB / 1.196 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.8543, allocations: 24 kB / 1.196 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005384/0.8597, allocations: 2.809 MB / 1.199 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.8599, allocations: 127.5 kB / 1.199 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.8606, allocations: 348.1 kB / 1.199 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.8628, allocations: 1.563 MB / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8629, allocations: 0 / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8629, allocations: 0 / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.8629, allocations: 0 / 1.201 GB, free: 10.04 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.002012/0.8649, allocations: 0.8851 MB / 1.202 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.865, allocations: 8.031 kB / 1.202 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.8662, allocations: 147.3 kB / 1.202 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.8668, allocations: 421.5 kB / 1.202 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.8668, allocations: 41.31 kB / 1.202 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.8669, allocations: 52 kB / 1.202 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.8682, allocations: 0.6721 MB / 1.203 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.8682, allocations: 4 kB / 1.203 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.8683, allocations: 28 kB / 1.203 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.8683, allocations: 23.92 kB / 1.203 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.8694, allocations: 499.5 kB / 1.204 GB, free: 7.148 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.003327/0.8727, allocations: 2.994 MB / 1.206 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.8733, allocations: 276 kB / 1.207 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.8737, allocations: 172.8 kB / 1.207 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.8915, allocations: 5.808 MB / 1.213 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.8916, allocations: 46.55 kB / 1.213 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.8916, allocations: 0 / 1.213 GB, free: 13.38 MB / 0.9669 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.6116/1.503, allocations: 30.42 MB / 1.242 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.503, allocations: 136.4 kB / 1.242 GB, free: 205.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/1.504, allocations: 374.4 kB / 1.243 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/1.504, allocations: 36.56 kB / 1.243 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/1.504, allocations: 291.4 kB / 1.243 GB, free: 205.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.504, allocations: 179.2 kB / 1.243 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/1.504, allocations: 49.78 kB / 1.243 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/1.504, allocations: 360.9 kB / 1.244 GB, free: 204.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/1.505, allocations: 240.9 kB / 1.244 GB, free: 204.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/1.506, allocations: 385 kB / 1.244 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.507, allocations: 0.5994 MB / 1.245 GB, free: 204.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.507, allocations: 8.188 kB / 1.245 GB, free: 204.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002083/1.509, allocations: 0.7998 MB / 1.246 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.509, allocations: 7.484 kB / 1.246 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/1.509, allocations: 3.656 kB / 1.246 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/1.51, allocations: 121.1 kB / 1.246 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/1.51, allocations: 130.2 kB / 1.246 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/1.513, allocations: 3.101 MB / 1.249 GB, free: 201 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/1.513, allocations: 63.56 kB / 1.249 GB, free: 200.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/1.513, allocations: 25.19 kB / 1.249 GB, free: 200.9 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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.0002733/1.514, allocations: 190.2 kB / 1.249 GB, free: 200.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/1.514, allocations: 50.23 kB / 1.249 GB, free: 200.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/1.516, allocations: 0.8069 MB / 1.25 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/1.516, allocations: 5.25 kB / 1.25 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.516, allocations: 2.547 kB / 1.25 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/1.516, allocations: 3.094 kB / 1.25 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/1.519, allocations: 1.614 MB / 1.252 GB, free: 199.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.519, allocations: 3.766 kB / 1.252 GB, free: 199.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/1.52, allocations: 106.5 kB / 1.252 GB, free: 199.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/1.52, allocations: 78.42 kB / 1.252 GB, free: 199.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/1.52, allocations: 21.2 kB / 1.252 GB, free: 199.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/1.521, allocations: 1.595 MB / 1.253 GB, free: 198 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.521, allocations: 7 kB / 1.253 GB, free: 198 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/1.523, allocations: 1.039 MB / 1.254 GB, free: 197.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.524, allocations: 142.7 kB / 1.255 GB, free: 197.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.524, allocations: 12.34 kB / 1.255 GB, free: 197.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/1.524, allocations: 61.97 kB / 1.255 GB, free: 197.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.524, allocations: 43.48 kB / 1.255 GB, free: 197.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/1.524, allocations: 26.52 kB / 1.255 GB, free: 197.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004986/1.525, allocations: 352.4 kB / 1.255 GB, free: 197.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.525, allocations: 0 / 1.255 GB, free: 197.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005301/1.53, allocations: 1.388 MB / 1.256 GB, free: 197.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (48): * Single equations (assignments): 47 * 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.007632/1.538, allocations: 0.7626 MB / 1.257 GB, free: 196.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002028/1.54, allocations: 0.8196 MB / 1.258 GB, free: 196.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.54, allocations: 0.9375 kB / 1.258 GB, free: 196.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007502/1.541, allocations: 396.2 kB / 1.258 GB, free: 196.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.543, allocations: 328.9 kB / 1.259 GB, free: 196.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.545, allocations: 1.505 MB / 1.26 GB, free: 195.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.545, allocations: 0.8759 MB / 1.261 GB, free: 194.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.546, allocations: 72.34 kB / 1.261 GB, free: 194.6 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.546, allocations: 0 / 1.261 GB, free: 194.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.05219/1.598, allocations: 42.14 MB / 1.302 GB, free: 172.7 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches