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.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.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.00136/0.00136, allocations: 103 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.001293/0.001293, 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.522/2.522, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 64.53 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.318, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6399/0.9579, allocations: 162.7 MB / 1.177 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.9703, allocations: 8.867 MB / 1.186 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007731/0.9711, allocations: 22.59 kB / 1.186 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.9722, allocations: 342.8 kB / 1.186 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.9756, allocations: 1.104 MB / 1.187 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005736/0.9813, allocations: 2.118 MB / 1.189 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.9834, allocations: 1.384 MB / 1.19 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.9841, allocations: 438.9 kB / 1.191 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.9893, allocations: 2.081 MB / 1.193 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.9924, allocations: 1.301 MB / 1.194 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.9925, allocations: 52.81 kB / 1.194 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.9981, allocations: 2.827 MB / 1.197 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.9984, allocations: 145.7 kB / 1.197 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.9989, allocations: 351 kB / 1.197 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/1.003, allocations: 2.228 MB / 1.2 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.003, allocations: 0 / 1.2 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.664e-06/1.003, allocations: 0 / 1.2 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.003, allocations: 0 / 1.2 GB, free: 11.55 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.002107/1.005, allocations: 0.9998 MB / 1.201 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.005, allocations: 10.8 kB / 1.201 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.006, allocations: 148.7 kB / 1.201 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/1.007, allocations: 426.7 kB / 1.201 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/1.007, allocations: 36.84 kB / 1.201 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/1.007, allocations: 55.28 kB / 1.201 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.008, allocations: 0.6633 MB / 1.202 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.008, allocations: 6.75 kB / 1.202 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/1.008, allocations: 27.38 kB / 1.202 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/1.008, allocations: 16.72 kB / 1.202 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/1.009, allocations: 490.8 kB / 1.202 GB, free: 9.562 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.003686/1.013, allocations: 3.009 MB / 1.205 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/1.013, allocations: 276.3 kB / 1.206 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/1.014, allocations: 161.7 kB / 1.206 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01805/1.032, allocations: 5.751 MB / 1.211 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/1.032, allocations: 38.56 kB / 1.211 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 2.235e-06/1.032, allocations: 0 / 1.211 GB, free: 2.926 MB / 0.9044 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.09202/1.124, allocations: 31.63 MB / 1.242 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/1.124, allocations: 137 kB / 1.242 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/1.124, allocations: 377.5 kB / 1.243 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/1.125, allocations: 37.7 kB / 1.243 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/1.125, allocations: 288.1 kB / 1.243 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/1.125, allocations: 185.4 kB / 1.243 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.125, allocations: 114.1 kB / 1.243 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.125, allocations: 354.8 kB / 1.244 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/1.126, allocations: 237 kB / 1.244 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006919/1.127, allocations: 364.5 kB / 1.244 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.128, allocations: 0.6059 MB / 1.245 GB, free: 480 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.128, allocations: 0 / 1.245 GB, free: 480 kB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002073/1.13, allocations: 0.7935 MB / 1.246 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.13, allocations: 4 kB / 1.246 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.13, allocations: 7.938 kB / 1.246 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/1.13, allocations: 121.9 kB / 1.246 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/1.131, allocations: 135.7 kB / 1.246 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/1.135, allocations: 3.436 MB / 1.249 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/1.135, allocations: 35.91 kB / 1.249 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/1.135, allocations: 27.98 kB / 1.249 GB, free: 11.62 MB / 0.9512 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.0003221/1.136, allocations: 190.9 kB / 1.249 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/1.136, allocations: 51.44 kB / 1.25 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.138, allocations: 0.7908 MB / 1.25 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.138, allocations: 4 kB / 1.25 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.138, allocations: 5.062 kB / 1.25 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.138, allocations: 7.922 kB / 1.25 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/1.141, allocations: 1.607 MB / 1.252 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/1.141, allocations: 4 kB / 1.252 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/1.142, allocations: 100.3 kB / 1.252 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/1.142, allocations: 72.8 kB / 1.252 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/1.142, allocations: 12 kB / 1.252 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/1.144, allocations: 1.783 MB / 1.254 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.144, allocations: 4 kB / 1.254 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/1.146, allocations: 1.022 MB / 1.255 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/1.146, allocations: 128.4 kB / 1.255 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.147, allocations: 23.88 kB / 1.255 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/1.147, allocations: 27.97 kB / 1.255 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.147, allocations: 44.09 kB / 1.255 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/1.147, allocations: 27.98 kB / 1.255 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005004/1.148, allocations: 358.8 kB / 1.255 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.148, allocations: 0 / 1.255 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004096/1.152, allocations: 1.383 MB / 1.257 GB, free: 3.656 MB / 0.9512 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.007192/1.159, allocations: 0.7619 MB / 1.257 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002136/1.161, allocations: 0.8425 MB / 1.258 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.161, allocations: 4 kB / 1.258 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007822/1.162, allocations: 382.2 kB / 1.259 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.164, allocations: 337 kB / 1.259 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/1.166, allocations: 1.229 MB / 1.26 GB, free: 8 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/1.166, allocations: 0.8751 MB / 1.261 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.167, allocations: 71.41 kB / 1.261 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/1.167, allocations: 4 kB / 1.261 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of Templates: time 0.06533/1.232, allocations: 42.22 MB / 1.302 GB, free: 5.484 MB / 0.9981 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=400 -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