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.007717/0.007717, allocations: 99.27 kB / 15.73 MB, free: 6.039 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.001774/0.001774, allocations: 196.8 kB / 16.67 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.688/2.688, allocations: 437 MB / 0.7105 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3368, allocations: 151.6 MB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.8861/1.223, allocations: 163.2 MB / 1.326 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01231/1.235, allocations: 8.139 MB / 1.334 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009949/1.236, allocations: 18.91 kB / 1.334 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/1.238, allocations: 339.6 kB / 1.334 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002555/1.24, allocations: 0.7168 MB / 1.335 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007228/1.248, allocations: 2.142 MB / 1.337 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002289/1.25, allocations: 1.36 MB / 1.338 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000955/1.251, allocations: 445.2 kB / 1.339 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/1.255, allocations: 1.419 MB / 1.34 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/1.256, allocations: 437 kB / 1.341 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/1.257, allocations: 51.66 kB / 1.341 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009302/1.266, allocations: 3.628 MB / 1.344 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/1.266, allocations: 150.3 kB / 1.344 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008459/1.267, allocations: 345.9 kB / 1.345 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006642/1.274, allocations: 2.597 MB / 1.347 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.274, allocations: 0 / 1.347 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.195e-06/1.274, allocations: 0 / 1.347 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.226e-05/1.274, allocations: 5.094 kB / 1.347 GB, free: 11.96 MB / 1.029 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.00368/1.278, allocations: 1.03 MB / 1.348 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.278, allocations: 13.81 kB / 1.348 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/1.279, allocations: 142.6 kB / 1.348 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/1.28, allocations: 429.3 kB / 1.349 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/1.28, allocations: 45.66 kB / 1.349 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.985e-05/1.28, allocations: 50.19 kB / 1.349 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.281, allocations: 0.6534 MB / 1.35 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/1.281, allocations: 5.125 kB / 1.35 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/1.281, allocations: 27.84 kB / 1.35 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/1.281, allocations: 12.97 kB / 1.35 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/1.283, allocations: 472.4 kB / 1.35 GB, free: 9.965 MB / 1.029 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.01782/1.3, allocations: 6.491 MB / 1.356 GB, free: 5.645 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/1.301, allocations: 161.8 kB / 1.357 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/1.301, allocations: 124.8 kB / 1.357 GB, free: 5.488 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/1.314, allocations: 3.851 MB / 1.36 GB, free: 3.469 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/1.314, allocations: 41.48 kB / 1.36 GB, free: 3.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/1.314, allocations: 0 / 1.36 GB, free: 3.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.08706/1.401, allocations: 30.65 MB / 1.39 GB, free: 14.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/1.401, allocations: 136.5 kB / 1.391 GB, free: 14.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/1.402, allocations: 461.8 kB / 1.391 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/1.402, allocations: 37.7 kB / 1.391 GB, free: 14.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/1.402, allocations: 320.1 kB / 1.391 GB, free: 13.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/1.402, allocations: 150.7 kB / 1.391 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.402, allocations: 102.2 kB / 1.392 GB, free: 13.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.402, allocations: 362.8 kB / 1.392 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/1.403, allocations: 180.7 kB / 1.392 GB, free: 13.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/1.403, allocations: 361.2 kB / 1.392 GB, free: 12.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/1.404, allocations: 0.5153 MB / 1.393 GB, free: 12.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.404, allocations: 0 / 1.393 GB, free: 12.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001791/1.406, allocations: 0.7015 MB / 1.394 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.406, allocations: 8 kB / 1.394 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/1.406, allocations: 4 kB / 1.394 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/1.407, allocations: 121.5 kB / 1.394 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/1.407, allocations: 116 kB / 1.394 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/1.41, allocations: 3.404 MB / 1.397 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/1.411, allocations: 35.72 kB / 1.397 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/1.411, allocations: 20 kB / 1.397 GB, free: 7.477 MB / 1.061 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.0003074/1.411, allocations: 197.7 kB / 1.397 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/1.412, allocations: 59.61 kB / 1.397 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/1.413, allocations: 0.6475 MB / 1.398 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.413, allocations: 3.938 kB / 1.398 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.413, allocations: 4 kB / 1.398 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.413, allocations: 0 / 1.398 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/1.415, allocations: 1.203 MB / 1.399 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.415, allocations: 7.984 kB / 1.399 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/1.416, allocations: 67.89 kB / 1.399 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/1.416, allocations: 64.81 kB / 1.399 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/1.416, allocations: 15.98 kB / 1.399 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/1.418, allocations: 1.736 MB / 1.401 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.418, allocations: 8.062 kB / 1.401 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/1.419, allocations: 0.7209 MB / 1.402 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/1.419, allocations: 132.8 kB / 1.402 GB, free: 2.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.42, allocations: 12 kB / 1.402 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/1.42, allocations: 24.05 kB / 1.402 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.42, allocations: 31.84 kB / 1.402 GB, free: 2.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/1.42, allocations: 21.11 kB / 1.402 GB, free: 2.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004278/1.421, allocations: 354.9 kB / 1.402 GB, free: 1.816 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.421, allocations: 0 / 1.402 GB, free: 1.816 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002698/1.423, allocations: 0.5695 MB / 1.403 GB, free: 1.246 MB / 1.061 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.003462/1.427, allocations: 0.578 MB / 1.403 GB, free: 0.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.428, allocations: 0.6693 MB / 1.404 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.429, allocations: 0 / 1.404 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/1.429, allocations: 283.5 kB / 1.404 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.431, allocations: 319.8 kB / 1.405 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/1.433, allocations: 1.138 MB / 1.406 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/1.434, allocations: 0.8667 MB / 1.407 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005304/1.434, allocations: 109.7 kB / 1.407 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.434, allocations: 47.44 kB / 1.407 GB, free: 13.13 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.434, allocations: 0 / 1.407 GB, free: 13.13 MB / 1.076 GB Notification: Performance of Templates: time 0.04106/1.475, allocations: 23.17 MB / 1.429 GB, free: 6.207 MB / 1.092 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 -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/jenkins/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