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.00164/0.00164, allocations: 112.3 kB / 15.99 MB, free: 5.891 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.001554/0.001554, allocations: 194.2 kB / 16.91 MB, free: 5.746 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 482.4 MB / 0.755 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 61.78 kB / 0.924 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3167, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1869/0.5036, allocations: 160.6 MB / 1.239 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.5164, allocations: 8.994 MB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007968/0.5173, allocations: 19.88 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.5185, allocations: 306.4 kB / 1.248 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.5215, allocations: 1.003 MB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00544/0.5269, allocations: 1.901 MB / 1.251 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6322/1.159, allocations: 1.374 MB / 1.252 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008482/1.16, allocations: 426.7 kB / 1.253 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005109/1.165, allocations: 2.009 MB / 1.255 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/1.168, allocations: 1.318 MB / 1.256 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.168, allocations: 52 kB / 1.256 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00559/1.174, allocations: 2.826 MB / 1.259 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/1.174, allocations: 157.5 kB / 1.259 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006524/1.175, allocations: 354.5 kB / 1.259 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/1.178, allocations: 1.574 MB / 1.261 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.178, allocations: 2.906 kB / 1.261 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.178, allocations: 0.8438 kB / 1.261 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.178, allocations: 0 / 1.261 GB, free: 8.754 MB / 0.9981 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.003288/1.182, allocations: 0.999 MB / 1.262 GB, free: 24.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.182, allocations: 10.91 kB / 1.262 GB, free: 24.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.183, allocations: 152.9 kB / 1.262 GB, free: 24.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/1.183, allocations: 419.4 kB / 1.263 GB, free: 23.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/1.183, allocations: 41.34 kB / 1.263 GB, free: 23.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/1.184, allocations: 51.75 kB / 1.263 GB, free: 23.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.185, allocations: 0.6658 MB / 1.263 GB, free: 23.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.185, allocations: 5.812 kB / 1.263 GB, free: 23.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/1.185, allocations: 23.12 kB / 1.263 GB, free: 23.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/1.185, allocations: 18.25 kB / 1.263 GB, free: 23.72 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/1.186, allocations: 494 kB / 1.264 GB, free: 23.72 MB / 1.014 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.003637/1.19, allocations: 2.985 MB / 1.267 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/1.19, allocations: 273.6 kB / 1.267 GB, free: 21.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/1.191, allocations: 163.8 kB / 1.267 GB, free: 21.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01839/1.209, allocations: 5.756 MB / 1.273 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/1.209, allocations: 40.52 kB / 1.273 GB, free: 20.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 3.968e-06/1.209, allocations: 0 / 1.273 GB, free: 20.35 MB / 1.014 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.0854/1.295, allocations: 31.6 MB / 1.304 GB, free: 16.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.295, allocations: 133.8 kB / 1.304 GB, free: 16.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/1.295, allocations: 378 kB / 1.304 GB, free: 16.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/1.295, allocations: 36.58 kB / 1.304 GB, free: 16.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/1.296, allocations: 289.8 kB / 1.304 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.296, allocations: 186 kB / 1.305 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.296, allocations: 109.3 kB / 1.305 GB, free: 16.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.296, allocations: 357.7 kB / 1.305 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/1.297, allocations: 237.2 kB / 1.305 GB, free: 15.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/1.297, allocations: 371.7 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/1.298, allocations: 0.5967 MB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.298, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001801/1.3, allocations: 0.788 MB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.3, allocations: 9.891 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.3, allocations: 6.594 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/1.301, allocations: 124.5 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/1.301, allocations: 130.6 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/1.305, allocations: 3.431 MB / 1.311 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/1.305, allocations: 64.62 kB / 1.311 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/1.306, allocations: 24.5 kB / 1.311 GB, free: 12.55 MB / 1.014 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.0003445/1.306, allocations: 195.9 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.306, allocations: 46.06 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/1.308, allocations: 0.7867 MB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.308, allocations: 4.625 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.308, allocations: 6.734 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.308, allocations: 6.156 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/1.311, allocations: 1.596 MB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.311, allocations: 2.406 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/1.311, allocations: 103.1 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/1.312, allocations: 73.02 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/1.312, allocations: 13.94 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/1.314, allocations: 1.773 MB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.314, allocations: 6.25 kB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/1.316, allocations: 1.023 MB / 1.316 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/1.316, allocations: 136.9 kB / 1.316 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.316, allocations: 22.03 kB / 1.316 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/1.317, allocations: 46.62 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.317, allocations: 43.53 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/1.317, allocations: 23.5 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004446/1.317, allocations: 359.7 kB / 1.317 GB, free: 9.805 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.72e-07/1.317, allocations: 4 kB / 1.317 GB, free: 9.801 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005678/1.323, allocations: 1.39 MB / 1.318 GB, free: 9.75 MB / 1.014 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.00959/1.333, allocations: 0.7566 MB / 1.319 GB, free: 9.582 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.335, allocations: 0.8392 MB / 1.32 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.335, allocations: 8.062 kB / 1.32 GB, free: 9.324 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000754/1.336, allocations: 381.1 kB / 1.32 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.337, allocations: 340.3 kB / 1.32 GB, free: 9.156 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/1.339, allocations: 1.43 MB / 1.322 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/1.34, allocations: 0.8833 MB / 1.323 GB, free: 7.594 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/1.34, allocations: 73.88 kB / 1.323 GB, free: 7.59 MB / 1.014 GB Notification: Performance of SimCode: time 4.8e-07/1.34, allocations: 0 / 1.323 GB, free: 7.59 MB / 1.014 GB Notification: Performance of Templates: time 0.06998/1.41, allocations: 42.02 MB / 1.364 GB, free: 8.016 MB / 1.045 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