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.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.001775/0.001775, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002127/0.002127, allocations: 220.1 kB / 23.03 MB, free: 4.941 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.238/3.238, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.95 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3855, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1825/0.568, allocations: 143.7 MB / 1.486 GB, free: 15.69 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.5806, allocations: 8.167 MB / 1.494 GB, free: 7.496 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000928/0.5816, allocations: 27.81 kB / 1.494 GB, free: 7.469 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.5828, allocations: 329.8 kB / 1.494 GB, free: 7.145 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.5862, allocations: 1.142 MB / 1.495 GB, free: 6 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.592, allocations: 2.142 MB / 1.497 GB, free: 3.863 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002417/0.5944, allocations: 1.403 MB / 1.499 GB, free: 2.453 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.5952, allocations: 366.2 kB / 1.499 GB, free: 2.094 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/0.6012, allocations: 2.19 MB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.6045, allocations: 1.289 MB / 1.502 GB, free: 14.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.6046, allocations: 52 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005915/0.6105, allocations: 2.86 MB / 1.505 GB, free: 11.69 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.6109, allocations: 159.4 kB / 1.505 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.6114, allocations: 294.8 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004116/0.6155, allocations: 2.217 MB / 1.508 GB, free: 9.023 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6155, allocations: 0 / 1.508 GB, free: 9.023 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6155, allocations: 4 kB / 1.508 GB, free: 9.02 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.6156, allocations: 0 / 1.508 GB, free: 9.02 MB / 1.201 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.002209/0.6178, allocations: 0.9525 MB / 1.509 GB, free: 8.035 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.6178, allocations: 8.031 kB / 1.509 GB, free: 8.027 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.675e-05/0.6179, allocations: 13.5 kB / 1.509 GB, free: 8.012 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.618, allocations: 102.5 kB / 1.509 GB, free: 7.902 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.6191, allocations: 147.5 kB / 1.509 GB, free: 7.758 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/0.6199, allocations: 371.3 kB / 1.509 GB, free: 7.371 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.62, allocations: 41.3 kB / 1.509 GB, free: 7.332 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.6201, allocations: 56 kB / 1.509 GB, free: 7.277 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.6215, allocations: 0.9945 MB / 1.51 GB, free: 6.152 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.6215, allocations: 3.938 kB / 1.51 GB, free: 6.148 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.6216, allocations: 31.94 kB / 1.51 GB, free: 6.117 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.6216, allocations: 12 kB / 1.51 GB, free: 6.105 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.6227, allocations: 495.6 kB / 1.511 GB, free: 5.621 MB / 1.201 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.00341/0.6261, allocations: 2.262 MB / 1.513 GB, free: 3.266 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.6267, allocations: 271.8 kB / 1.513 GB, free: 2.992 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.6271, allocations: 157.4 kB / 1.513 GB, free: 2.836 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.6446, allocations: 4.924 MB / 1.518 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/0.6447, allocations: 42.42 kB / 1.518 GB, free: 13.86 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 3.697e-06/0.6447, allocations: 4 kB / 1.518 GB, free: 13.85 MB / 1.217 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.08952/0.7342, allocations: 31.65 MB / 1.549 GB, free: 14.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.7343, allocations: 140.9 kB / 1.549 GB, free: 14.03 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.7348, allocations: 369.6 kB / 1.55 GB, free: 13.66 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.7349, allocations: 41.7 kB / 1.55 GB, free: 13.61 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.7351, allocations: 296.8 kB / 1.55 GB, free: 13.32 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.7353, allocations: 186.4 kB / 1.55 GB, free: 13.13 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.7355, allocations: 118.3 kB / 1.55 GB, free: 13.01 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7357, allocations: 350.8 kB / 1.551 GB, free: 12.66 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.7362, allocations: 241.2 kB / 1.551 GB, free: 12.43 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/0.737, allocations: 454.5 kB / 1.551 GB, free: 11.91 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.7382, allocations: 0.5941 MB / 1.552 GB, free: 11.27 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7382, allocations: 0 / 1.552 GB, free: 11.27 MB / 1.248 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002058/0.7402, allocations: 0.7864 MB / 1.553 GB, free: 10.47 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.7403, allocations: 12.02 kB / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.7403, allocations: 4 kB / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.7408, allocations: 121.5 kB / 1.553 GB, free: 10.33 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.7414, allocations: 127.8 kB / 1.553 GB, free: 10.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.745, allocations: 3.218 MB / 1.556 GB, free: 6.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.7456, allocations: 44.02 kB / 1.556 GB, free: 6.727 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.7457, allocations: 20 kB / 1.556 GB, free: 6.707 MB / 1.248 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.0003756/0.7461, allocations: 201.6 kB / 1.556 GB, free: 6.5 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.7463, allocations: 55.67 kB / 1.556 GB, free: 6.445 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.7482, allocations: 0.7823 MB / 1.557 GB, free: 5.648 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7482, allocations: 4 kB / 1.557 GB, free: 5.645 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7482, allocations: 0 / 1.557 GB, free: 5.645 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7482, allocations: 0 / 1.557 GB, free: 5.645 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.7515, allocations: 1.493 MB / 1.559 GB, free: 4.055 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7515, allocations: 4.406 kB / 1.559 GB, free: 4.051 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.7521, allocations: 111.8 kB / 1.559 GB, free: 3.941 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/0.7523, allocations: 68.8 kB / 1.559 GB, free: 3.871 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.7524, allocations: 19.94 kB / 1.559 GB, free: 3.852 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.7542, allocations: 1.661 MB / 1.56 GB, free: 2.082 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-06/0.7542, allocations: 15.94 kB / 1.56 GB, free: 2.066 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.7564, allocations: 1.009 MB / 1.561 GB, free: 1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.7566, allocations: 67.58 kB / 1.562 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.7567, allocations: 8 kB / 1.562 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.7572, allocations: 31.97 kB / 1.562 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.7573, allocations: 47.81 kB / 1.562 GB, free: 0.8477 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.7574, allocations: 23.98 kB / 1.562 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005153/0.7579, allocations: 354.8 kB / 1.562 GB, free: 488 kB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7579, allocations: 0 / 1.562 GB, free: 488 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.004828/0.7627, allocations: 1.397 MB / 1.563 GB, free: 15.08 MB / 1.264 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.01035/0.7731, allocations: 2.211 MB / 1.565 GB, free: 12.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.7751, allocations: 0.7801 MB / 1.566 GB, free: 11.99 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.7751, allocations: 0 / 1.566 GB, free: 11.99 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.7759, allocations: 375.2 kB / 1.567 GB, free: 11.61 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.7776, allocations: 343.9 kB / 1.567 GB, free: 11.29 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.7898, allocations: 5.813 MB / 1.573 GB, free: 5.211 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.7901, allocations: 279.5 kB / 1.573 GB, free: 4.91 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.7908, allocations: 142.8 kB / 1.573 GB, free: 4.781 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.7912, allocations: 215.4 kB / 1.573 GB, free: 4.57 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/0.7912, allocations: 3.938 kB / 1.573 GB, free: 4.566 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8913/1.682, allocations: 71.42 MB / 1.643 GB, free: 225.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/18.46, allocations: 0.5156 kB / 1.643 GB, free: 225.8 MB / 1.295 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 33.687467581010424]