Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9001/0.9001, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.723/1.723, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9822 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.632e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6904/0.6904, allocations: 143.7 MB / 1.123 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.7004, allocations: 8.187 MB / 1.131 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.7009, allocations: 22.66 kB / 1.131 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0009516/0.7019, allocations: 326.8 kB / 1.131 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.7044, allocations: 1.168 MB / 1.132 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.7093, allocations: 2.176 MB / 1.134 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.7109, allocations: 1.407 MB / 1.136 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.7114, allocations: 365 kB / 1.136 GB, free: 8.703 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005196/0.7166, allocations: 2.415 MB / 1.138 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.7184, allocations: 1.227 MB / 1.139 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/0.7185, allocations: 51 kB / 1.139 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.7228, allocations: 2.786 MB / 1.142 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.723, allocations: 169.8 kB / 1.142 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.7232, allocations: 255.6 kB / 1.143 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.726, allocations: 2.651 MB / 1.145 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.726, allocations: 0 / 1.145 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.833e-06/0.726, allocations: 0 / 1.145 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.726, allocations: 0 / 1.145 GB, free: 2.84 MB / 0.9792 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.001551/0.7276, allocations: 0.9476 MB / 1.146 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.7276, allocations: 8.438 kB / 1.146 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.7282, allocations: 142.4 kB / 1.146 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.7288, allocations: 379.3 kB / 1.147 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.7288, allocations: 39.69 kB / 1.147 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.7289, allocations: 50.12 kB / 1.147 GB, free: 1.699 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.7299, allocations: 0.9986 MB / 1.148 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.7299, allocations: 1.125 kB / 1.148 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.73, allocations: 23.69 kB / 1.148 GB, free: 0.8125 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.73, allocations: 17.94 kB / 1.148 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.731, allocations: 487.5 kB / 1.148 GB, free: 0.582 MB / 0.9792 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.002047/0.733, allocations: 2.18 MB / 1.15 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.7334, allocations: 254.5 kB / 1.151 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.7336, allocations: 162.1 kB / 1.151 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008505/0.7421, allocations: 4.937 MB / 1.156 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.7421, allocations: 47.12 kB / 1.156 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.7421, allocations: 0 / 1.156 GB, free: 12.52 MB / 0.9948 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.04666/0.7888, allocations: 31.64 MB / 1.186 GB, free: 14.66 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.7889, allocations: 137 kB / 1.187 GB, free: 14.5 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.7892, allocations: 349.5 kB / 1.187 GB, free: 14.15 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.7892, allocations: 37.7 kB / 1.187 GB, free: 14.11 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.7893, allocations: 300.7 kB / 1.187 GB, free: 13.81 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.7895, allocations: 194.3 kB / 1.187 GB, free: 13.62 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.7896, allocations: 102.3 kB / 1.188 GB, free: 13.52 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7897, allocations: 358.8 kB / 1.188 GB, free: 13.16 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.79, allocations: 233.2 kB / 1.188 GB, free: 12.93 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.7904, allocations: 450.6 kB / 1.189 GB, free: 12.42 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000981/0.7914, allocations: 0.5954 MB / 1.189 GB, free: 11.78 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7914, allocations: 4 kB / 1.189 GB, free: 11.78 MB / 1.026 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001098/0.7925, allocations: 0.7877 MB / 1.19 GB, free: 10.98 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.7925, allocations: 10.5 kB / 1.19 GB, free: 10.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7925, allocations: 4 kB / 1.19 GB, free: 10.96 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.7928, allocations: 121.7 kB / 1.19 GB, free: 10.84 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.7931, allocations: 132.6 kB / 1.19 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.7951, allocations: 3.166 MB / 1.193 GB, free: 7.344 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.7953, allocations: 39.97 kB / 1.193 GB, free: 7.305 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.7954, allocations: 20 kB / 1.193 GB, free: 7.285 MB / 1.026 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.0002017/0.7956, allocations: 185.8 kB / 1.193 GB, free: 7.094 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.7957, allocations: 55.64 kB / 1.194 GB, free: 7.039 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.7967, allocations: 0.7924 MB / 1.194 GB, free: 6.234 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7967, allocations: 7.938 kB / 1.194 GB, free: 6.227 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7967, allocations: 4 kB / 1.194 GB, free: 6.223 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7967, allocations: 0 / 1.194 GB, free: 6.223 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.7988, allocations: 1.401 MB / 1.196 GB, free: 4.742 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7988, allocations: 7.938 kB / 1.196 GB, free: 4.734 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.799, allocations: 103.9 kB / 1.196 GB, free: 4.633 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.7992, allocations: 64.81 kB / 1.196 GB, free: 4.566 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.7992, allocations: 19.98 kB / 1.196 GB, free: 4.547 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.8002, allocations: 1.645 MB / 1.197 GB, free: 2.801 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8002, allocations: 4 kB / 1.197 GB, free: 2.797 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.8014, allocations: 1.003 MB / 1.198 GB, free: 1.734 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.8014, allocations: 51.69 kB / 1.199 GB, free: 1.684 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.8015, allocations: 8 kB / 1.199 GB, free: 1.676 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.8017, allocations: 27.98 kB / 1.199 GB, free: 1.648 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.8017, allocations: 47.86 kB / 1.199 GB, free: 1.602 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.8018, allocations: 23.98 kB / 1.199 GB, free: 1.578 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001883/0.802, allocations: 243.2 kB / 1.199 GB, free: 1.344 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.802, allocations: 8 kB / 1.199 GB, free: 1.336 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004108/0.8061, allocations: 1.401 MB / 1.2 GB, free: 15.93 MB / 1.042 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.004602/0.8107, allocations: 0.8331 MB / 1.201 GB, free: 15.09 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.8119, allocations: 0.7812 MB / 1.202 GB, free: 14.28 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8119, allocations: 0 / 1.202 GB, free: 14.28 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.8123, allocations: 378.7 kB / 1.202 GB, free: 13.9 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.813, allocations: 230.5 kB / 1.202 GB, free: 13.68 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.8144, allocations: 1.137 MB / 1.203 GB, free: 12.47 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.8146, allocations: 278.7 kB / 1.204 GB, free: 12.17 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.8147, allocations: 64.47 kB / 1.204 GB, free: 12.11 MB / 1.042 GB Notification: Performance of SimCode: time 1.673e-06/0.8147, allocations: 0 / 1.204 GB, free: 12.11 MB / 1.042 GB Notification: Performance of Templates: time 0.05215/0.8669, allocations: 41.2 MB / 1.244 GB, free: 3.457 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.569052121601999]