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.001624/0.001624, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001869/0.001869, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 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.403/2.403, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.84 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7684, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1661/0.9345, allocations: 162.7 MB / 1.326 GB, free: 0.543 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.9461, allocations: 8.888 MB / 1.335 GB, free: 7.629 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.9468, allocations: 19.94 kB / 1.335 GB, free: 7.609 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.948, allocations: 349.8 kB / 1.335 GB, free: 7.266 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.951, allocations: 1.127 MB / 1.336 GB, free: 6.137 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.9562, allocations: 2.135 MB / 1.338 GB, free: 4.008 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.958, allocations: 1.38 MB / 1.34 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.9588, allocations: 439.2 kB / 1.34 GB, free: 2.188 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.9638, allocations: 2.144 MB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.9665, allocations: 1.295 MB / 1.344 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.9667, allocations: 52 kB / 1.344 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.9724, allocations: 2.895 MB / 1.346 GB, free: 11.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.9728, allocations: 155.4 kB / 1.347 GB, free: 11.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.9734, allocations: 342.5 kB / 1.347 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.9773, allocations: 2.229 MB / 1.349 GB, free: 9.059 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9773, allocations: 4 kB / 1.349 GB, free: 9.055 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9773, allocations: 0 / 1.349 GB, free: 9.055 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.283e-05/0.9774, allocations: 0 / 1.349 GB, free: 9.055 MB / 1.076 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.002299/0.9797, allocations: 1.006 MB / 1.35 GB, free: 8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9797, allocations: 8.922 kB / 1.35 GB, free: 7.992 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.981, allocations: 147.2 kB / 1.35 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.9818, allocations: 433.6 kB / 1.351 GB, free: 7.387 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.9819, allocations: 37.31 kB / 1.351 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.982, allocations: 52 kB / 1.351 GB, free: 7.297 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.9832, allocations: 0.6682 MB / 1.351 GB, free: 6.578 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.9832, allocations: 3.938 kB / 1.351 GB, free: 6.574 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.9833, allocations: 24 kB / 1.351 GB, free: 6.551 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.9833, allocations: 15.94 kB / 1.351 GB, free: 6.535 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.9844, allocations: 499.5 kB / 1.352 GB, free: 6.051 MB / 1.076 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.003525/0.9879, allocations: 2.986 MB / 1.355 GB, free: 2.828 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.9885, allocations: 266.3 kB / 1.355 GB, free: 2.559 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.9889, allocations: 161.4 kB / 1.355 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/1.006, allocations: 5.824 MB / 1.361 GB, free: 12.35 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.006, allocations: 42.5 kB / 1.361 GB, free: 12.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 3.416e-06/1.006, allocations: 0 / 1.361 GB, free: 12.3 MB / 1.092 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.08519/1.091, allocations: 31.9 MB / 1.392 GB, free: 12.38 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/1.091, allocations: 140.9 kB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/1.092, allocations: 373.5 kB / 1.393 GB, free: 11.84 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/1.092, allocations: 37.7 kB / 1.393 GB, free: 11.8 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/1.092, allocations: 288.2 kB / 1.393 GB, free: 11.51 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.092, allocations: 193.3 kB / 1.393 GB, free: 11.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.092, allocations: 106.2 kB / 1.393 GB, free: 11.21 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.092, allocations: 358.8 kB / 1.393 GB, free: 10.85 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/1.093, allocations: 233 kB / 1.394 GB, free: 10.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/1.094, allocations: 368.5 kB / 1.394 GB, free: 10.21 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.095, allocations: 0.5942 MB / 1.395 GB, free: 9.578 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.095, allocations: 0 / 1.395 GB, free: 9.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00194/1.097, allocations: 0.7975 MB / 1.395 GB, free: 8.766 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.097, allocations: 9.812 kB / 1.395 GB, free: 8.758 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.097, allocations: 4 kB / 1.395 GB, free: 8.754 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/1.097, allocations: 121.9 kB / 1.396 GB, free: 8.629 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/1.098, allocations: 127.8 kB / 1.396 GB, free: 8.504 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/1.101, allocations: 3.429 MB / 1.399 GB, free: 4.797 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/1.102, allocations: 39.94 kB / 1.399 GB, free: 4.758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/1.102, allocations: 23.98 kB / 1.399 GB, free: 4.734 MB / 1.123 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.0002972/1.102, allocations: 193.6 kB / 1.399 GB, free: 4.535 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/1.102, allocations: 51.44 kB / 1.399 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/1.104, allocations: 0.7857 MB / 1.4 GB, free: 3.684 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.104, allocations: 4 kB / 1.4 GB, free: 3.68 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.104, allocations: 3.984 kB / 1.4 GB, free: 3.676 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.104, allocations: 4 kB / 1.4 GB, free: 3.672 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/1.107, allocations: 1.606 MB / 1.402 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.107, allocations: 8.094 kB / 1.402 GB, free: 1.957 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/1.108, allocations: 111.9 kB / 1.402 GB, free: 1.848 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/1.108, allocations: 64.81 kB / 1.402 GB, free: 1.781 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/1.108, allocations: 19.98 kB / 1.402 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/1.11, allocations: 1.775 MB / 1.404 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.11, allocations: 4 kB / 1.404 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.112, allocations: 1.02 MB / 1.405 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/1.112, allocations: 136.4 kB / 1.405 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.112, allocations: 19.84 kB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/1.113, allocations: 31.97 kB / 1.405 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.113, allocations: 40.02 kB / 1.405 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/1.113, allocations: 23.94 kB / 1.405 GB, free: 14.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004789/1.114, allocations: 354.8 kB / 1.405 GB, free: 14.15 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/1.114, allocations: 0 / 1.405 GB, free: 14.15 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004525/1.118, allocations: 1.386 MB / 1.407 GB, free: 12.77 MB / 1.139 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.008564/1.127, allocations: 0.7697 MB / 1.407 GB, free: 12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002178/1.129, allocations: 0.8153 MB / 1.408 GB, free: 11.15 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.129, allocations: 0 / 1.408 GB, free: 11.15 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/1.13, allocations: 386.5 kB / 1.408 GB, free: 10.76 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.132, allocations: 339.6 kB / 1.409 GB, free: 10.44 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/1.134, allocations: 1.221 MB / 1.41 GB, free: 9.152 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/1.134, allocations: 0.8789 MB / 1.411 GB, free: 8.246 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/1.134, allocations: 67.42 kB / 1.411 GB, free: 8.18 MB / 1.139 GB Notification: Performance of SimCode: time 6.61e-07/1.134, allocations: 0 / 1.411 GB, free: 8.18 MB / 1.139 GB Notification: Performance of Templates: time 0.06214/1.197, allocations: 42.29 MB / 1.452 GB, free: 14.52 MB / 1.186 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