Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.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_latest_Buildings.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.001615/0.001615, allocations: 104.5 kB / 16.27 MB, free: 5.977 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.00152/0.00152, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.06 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6899, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1994/0.8893, allocations: 162.7 MB / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.9017, allocations: 8.862 MB / 1.25 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.9024, allocations: 11.94 kB / 1.25 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.9035, allocations: 349.8 kB / 1.251 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.9062, allocations: 1.092 MB / 1.252 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.9115, allocations: 2.131 MB / 1.254 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.9132, allocations: 1.376 MB / 1.255 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.9139, allocations: 441.5 kB / 1.256 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.9188, allocations: 2.081 MB / 1.258 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/0.9217, allocations: 1.299 MB / 1.259 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.9219, allocations: 52 kB / 1.259 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.9272, allocations: 2.813 MB / 1.262 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.9274, allocations: 155.5 kB / 1.262 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.9279, allocations: 362.3 kB / 1.262 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.9312, allocations: 2.202 MB / 1.264 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9313, allocations: 4 kB / 1.264 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9313, allocations: 0 / 1.264 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9313, allocations: 0 / 1.264 GB, free: 4.52 MB / 0.9825 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.001903/0.9332, allocations: 0.998 MB / 1.265 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9332, allocations: 16.03 kB / 1.265 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.9343, allocations: 147.2 kB / 1.266 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.9349, allocations: 417.7 kB / 1.266 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.935, allocations: 37.31 kB / 1.266 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.9351, allocations: 48 kB / 1.266 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.9363, allocations: 0.676 MB / 1.267 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.9363, allocations: 0 / 1.267 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.9364, allocations: 24 kB / 1.267 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.9364, allocations: 15.94 kB / 1.267 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.9375, allocations: 491.5 kB / 1.267 GB, free: 1.535 MB / 0.9825 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.003647/0.9411, allocations: 3.006 MB / 1.27 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.9418, allocations: 280.4 kB / 1.27 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.9421, allocations: 166 kB / 1.271 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/0.9605, allocations: 5.746 MB / 1.276 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.9606, allocations: 42.42 kB / 1.276 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.9606, allocations: 4 kB / 1.276 GB, free: 7.824 MB / 0.9981 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.0925/1.053, allocations: 31.6 MB / 1.307 GB, free: 8.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/1.053, allocations: 140.9 kB / 1.307 GB, free: 8.004 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/1.054, allocations: 373.5 kB / 1.308 GB, free: 7.629 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/1.054, allocations: 33.7 kB / 1.308 GB, free: 7.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/1.054, allocations: 288.2 kB / 1.308 GB, free: 7.305 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.054, allocations: 185.3 kB / 1.308 GB, free: 7.121 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/1.054, allocations: 110.2 kB / 1.308 GB, free: 7.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.055, allocations: 354.8 kB / 1.308 GB, free: 6.652 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/1.055, allocations: 241 kB / 1.309 GB, free: 6.418 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/1.056, allocations: 368.5 kB / 1.309 GB, free: 6.004 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.057, allocations: 0.5981 MB / 1.31 GB, free: 5.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.057, allocations: 3.938 kB / 1.31 GB, free: 5.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002017/1.059, allocations: 0.7899 MB / 1.31 GB, free: 4.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.059, allocations: 7.938 kB / 1.31 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.059, allocations: 4 kB / 1.31 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/1.06, allocations: 125.5 kB / 1.311 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/1.06, allocations: 136 kB / 1.311 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/1.064, allocations: 3.433 MB / 1.314 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/1.064, allocations: 39.91 kB / 1.314 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/1.065, allocations: 23.98 kB / 1.314 GB, free: 0.5117 MB / 1.029 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.0003035/1.065, allocations: 193.7 kB / 1.314 GB, free: 320 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.065, allocations: 55.5 kB / 1.314 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/1.067, allocations: 0.7897 MB / 1.315 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.067, allocations: 4 kB / 1.315 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.067, allocations: 0 / 1.315 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.067, allocations: 3.984 kB / 1.315 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/1.07, allocations: 1.606 MB / 1.317 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.07, allocations: 0 / 1.317 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/1.071, allocations: 107.8 kB / 1.317 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/1.071, allocations: 61.22 kB / 1.317 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/1.071, allocations: 23.98 kB / 1.317 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.073, allocations: 1.771 MB / 1.319 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.073, allocations: 7.969 kB / 1.319 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/1.075, allocations: 1.022 MB / 1.32 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/1.076, allocations: 132.5 kB / 1.32 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.076, allocations: 23.78 kB / 1.32 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/1.076, allocations: 31.97 kB / 1.32 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/1.076, allocations: 39.89 kB / 1.32 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/1.076, allocations: 31.92 kB / 1.32 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005002/1.077, allocations: 354.9 kB / 1.32 GB, free: 9.926 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 1.32 GB, free: 9.926 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004364/1.081, allocations: 1.39 MB / 1.322 GB, free: 8.535 MB / 1.045 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.007715/1.089, allocations: 0.7431 MB / 1.322 GB, free: 7.793 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002261/1.091, allocations: 0.8443 MB / 1.323 GB, free: 6.926 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.091, allocations: 0 / 1.323 GB, free: 6.926 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/1.092, allocations: 383 kB / 1.323 GB, free: 6.539 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.094, allocations: 343.7 kB / 1.324 GB, free: 6.215 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/1.096, allocations: 1.232 MB / 1.325 GB, free: 4.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/1.097, allocations: 0.875 MB / 1.326 GB, free: 4.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.097, allocations: 75.41 kB / 1.326 GB, free: 3.938 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/1.097, allocations: 3.938 kB / 1.326 GB, free: 3.934 MB / 1.045 GB Notification: Performance of Templates: time 0.06602/1.163, allocations: 42.03 MB / 1.367 GB, free: 10.5 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches