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.001334/0.001334, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001282/0.001282, allocations: 192 kB / 17.34 MB, free: 5.738 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.427/1.427, 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.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 55.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7678/0.7697, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1976/0.9673, allocations: 163.2 MB / 1.327 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.9793, allocations: 8.132 MB / 1.335 GB, free: 7.781 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.9801, allocations: 15.94 kB / 1.335 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.9814, allocations: 365.8 kB / 1.335 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.9835, allocations: 0.7385 MB / 1.336 GB, free: 6.664 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005547/0.9891, allocations: 2.157 MB / 1.338 GB, free: 4.516 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.9913, allocations: 1.368 MB / 1.339 GB, free: 3.141 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007333/0.992, allocations: 429.5 kB / 1.34 GB, free: 2.715 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.9957, allocations: 1.456 MB / 1.341 GB, free: 1.254 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.9965, allocations: 450.2 kB / 1.341 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.9966, allocations: 52 kB / 1.341 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007181/1.004, allocations: 3.628 MB / 1.345 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/1.004, allocations: 147.5 kB / 1.345 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006153/1.005, allocations: 350.4 kB / 1.346 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0047/1.009, allocations: 2.591 MB / 1.348 GB, free: 10.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.009, allocations: 0 / 1.348 GB, free: 10.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.074e-06/1.009, allocations: 0 / 1.348 GB, free: 10.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.788e-05/1.009, allocations: 0 / 1.348 GB, free: 10.04 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.00219/1.012, allocations: 1.039 MB / 1.349 GB, free: 8.953 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.012, allocations: 12.92 kB / 1.349 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/1.013, allocations: 143.5 kB / 1.349 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/1.014, allocations: 433.8 kB / 1.35 GB, free: 8.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/1.014, allocations: 41.31 kB / 1.35 GB, free: 8.297 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/1.014, allocations: 51.94 kB / 1.35 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/1.015, allocations: 0.6564 MB / 1.35 GB, free: 7.539 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.015, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/1.015, allocations: 27.98 kB / 1.35 GB, free: 7.512 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/1.015, allocations: 12 kB / 1.35 GB, free: 7.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/1.016, allocations: 475.5 kB / 1.351 GB, free: 7.039 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.01667/1.033, allocations: 6.487 MB / 1.357 GB, free: 276 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/1.033, allocations: 163.2 kB / 1.357 GB, free: 104 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/1.034, allocations: 121.3 kB / 1.357 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/1.046, allocations: 3.853 MB / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/1.046, allocations: 46.72 kB / 1.361 GB, free: 11.92 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 2.295e-06/1.046, allocations: 4 kB / 1.361 GB, free: 11.92 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.09056/1.137, allocations: 30.63 MB / 1.391 GB, free: 13.29 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/1.137, allocations: 136.5 kB / 1.391 GB, free: 13.12 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/1.137, allocations: 469.8 kB / 1.392 GB, free: 12.66 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.138, allocations: 37.7 kB / 1.392 GB, free: 12.62 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/1.138, allocations: 312.1 kB / 1.392 GB, free: 12.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.138, allocations: 146.8 kB / 1.392 GB, free: 12.16 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/1.138, allocations: 102.2 kB / 1.392 GB, free: 12.05 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.138, allocations: 366.7 kB / 1.393 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/1.139, allocations: 177 kB / 1.393 GB, free: 11.51 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/1.139, allocations: 361.2 kB / 1.393 GB, free: 11.09 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.14, allocations: 0.5075 MB / 1.394 GB, free: 10.53 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.14, allocations: 4 kB / 1.394 GB, free: 10.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001877/1.142, allocations: 0.7054 MB / 1.394 GB, free: 9.805 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.142, allocations: 8 kB / 1.394 GB, free: 9.797 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.142, allocations: 4 kB / 1.394 GB, free: 9.793 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/1.143, allocations: 121.9 kB / 1.395 GB, free: 9.668 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/1.143, allocations: 115.8 kB / 1.395 GB, free: 9.555 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/1.147, allocations: 3.41 MB / 1.398 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/1.148, allocations: 32.14 kB / 1.398 GB, free: 5.836 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/1.148, allocations: 23.98 kB / 1.398 GB, free: 5.812 MB / 1.123 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.0002937/1.148, allocations: 197.7 kB / 1.398 GB, free: 5.609 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/1.148, allocations: 59.61 kB / 1.398 GB, free: 5.551 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.15, allocations: 0.6463 MB / 1.399 GB, free: 4.879 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.15, allocations: 0 / 1.399 GB, free: 4.879 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.15, allocations: 4 kB / 1.399 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.15, allocations: 7.984 kB / 1.399 GB, free: 4.867 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/1.152, allocations: 1.201 MB / 1.4 GB, free: 3.559 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.152, allocations: 4 kB / 1.4 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/1.153, allocations: 63.91 kB / 1.4 GB, free: 3.492 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/1.153, allocations: 73.3 kB / 1.4 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/1.153, allocations: 19.88 kB / 1.4 GB, free: 3.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.155, allocations: 1.744 MB / 1.402 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.155, allocations: 4 kB / 1.402 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.157, allocations: 0.715 MB / 1.403 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.157, allocations: 136.8 kB / 1.403 GB, free: 0.582 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/1.157, allocations: 12 kB / 1.403 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/1.157, allocations: 19.98 kB / 1.403 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/1.157, allocations: 35.83 kB / 1.403 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/1.157, allocations: 16 kB / 1.403 GB, free: 0.5 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004835/1.158, allocations: 366.8 kB / 1.403 GB, free: 144 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.158, allocations: 0 / 1.403 GB, free: 144 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001711/1.16, allocations: 0.5656 MB / 1.404 GB, free: 15.57 MB / 1.139 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.002068/1.162, allocations: 0.5571 MB / 1.404 GB, free: 15.01 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001644/1.163, allocations: 0.677 MB / 1.405 GB, free: 14.31 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/1.163, allocations: 0.5 kB / 1.405 GB, free: 14.31 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/1.164, allocations: 284.4 kB / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/1.166, allocations: 309.1 kB / 1.406 GB, free: 13.72 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/1.168, allocations: 1.148 MB / 1.407 GB, free: 12.5 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/1.168, allocations: 0.8589 MB / 1.407 GB, free: 11.61 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004234/1.169, allocations: 118.5 kB / 1.408 GB, free: 11.5 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.169, allocations: 51.42 kB / 1.408 GB, free: 11.45 MB / 1.139 GB Notification: Performance of SimCode: time 7.02e-07/1.169, allocations: 0 / 1.408 GB, free: 11.45 MB / 1.139 GB Notification: Performance of Templates: time 0.03872/1.208, allocations: 23.22 MB / 1.43 GB, free: 4.453 MB / 1.154 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=480 -s cvode -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