Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001794/0.001794, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002348/0.002348, allocations: 210.9 kB / 22.24 MB, free: 5.242 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.677/2.677, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",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.002247/0.002247, allocations: 68.91 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3581, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1766/0.5348, allocations: 143.9 MB / 1.423 GB, free: 12.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.5469, allocations: 8.172 MB / 1.431 GB, free: 3.848 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.5477, allocations: 23.81 kB / 1.431 GB, free: 3.824 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.5488, allocations: 325.9 kB / 1.431 GB, free: 3.504 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.5519, allocations: 1.139 MB / 1.432 GB, free: 2.363 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005333/0.5572, allocations: 2.147 MB / 1.435 GB, free: 228 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.5592, allocations: 1.391 MB / 1.436 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.5599, allocations: 374.1 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005353/0.5652, allocations: 2.19 MB / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.5679, allocations: 1.262 MB / 1.44 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.568, allocations: 52 kB / 1.44 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/0.5735, allocations: 2.793 MB / 1.442 GB, free: 8.137 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.5737, allocations: 151.5 kB / 1.443 GB, free: 7.988 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.5742, allocations: 298.8 kB / 1.443 GB, free: 7.695 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.5775, allocations: 2.221 MB / 1.445 GB, free: 5.469 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5775, allocations: 0 / 1.445 GB, free: 5.469 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5775, allocations: 3.938 kB / 1.445 GB, free: 5.465 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5775, allocations: 0 / 1.445 GB, free: 5.465 MB / 1.139 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.001999/0.5795, allocations: 0.9447 MB / 1.446 GB, free: 4.488 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5796, allocations: 12.02 kB / 1.446 GB, free: 4.477 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.5797, allocations: 98.7 kB / 1.446 GB, free: 4.371 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5808, allocations: 143.4 kB / 1.446 GB, free: 4.23 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.5815, allocations: 375.3 kB / 1.447 GB, free: 3.836 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.5816, allocations: 37.31 kB / 1.447 GB, free: 3.797 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.5817, allocations: 55.95 kB / 1.447 GB, free: 3.742 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.5831, allocations: 0.9888 MB / 1.448 GB, free: 2.629 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5831, allocations: 4 kB / 1.448 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.5832, allocations: 31.88 kB / 1.448 GB, free: 2.594 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.5832, allocations: 12 kB / 1.448 GB, free: 2.582 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.5843, allocations: 491.6 kB / 1.448 GB, free: 2.102 MB / 1.139 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.003328/0.5876, allocations: 2.27 MB / 1.45 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.5882, allocations: 258.4 kB / 1.451 GB, free: 15.47 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.5886, allocations: 160.8 kB / 1.451 GB, free: 15.31 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/0.6066, allocations: 4.936 MB / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.6067, allocations: 38.56 kB / 1.456 GB, free: 10.32 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 2.575e-06/0.6067, allocations: 0 / 1.456 GB, free: 10.32 MB / 1.154 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.09314/0.6998, allocations: 31.65 MB / 1.487 GB, free: 10.68 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.7, allocations: 137 kB / 1.487 GB, free: 10.52 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.7006, allocations: 377.5 kB / 1.487 GB, free: 10.14 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.7007, allocations: 37.7 kB / 1.487 GB, free: 10.1 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.701, allocations: 300.8 kB / 1.487 GB, free: 9.801 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.7012, allocations: 194.3 kB / 1.488 GB, free: 9.609 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.7014, allocations: 114.3 kB / 1.488 GB, free: 9.492 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.7016, allocations: 350.8 kB / 1.488 GB, free: 9.141 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.7022, allocations: 237.2 kB / 1.488 GB, free: 8.91 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.703, allocations: 454.5 kB / 1.489 GB, free: 8.395 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.7044, allocations: 0.5903 MB / 1.489 GB, free: 7.758 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.7044, allocations: 4 kB / 1.489 GB, free: 7.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002166/0.7065, allocations: 0.7902 MB / 1.49 GB, free: 6.949 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.7066, allocations: 7.938 kB / 1.49 GB, free: 6.941 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7066, allocations: 7.938 kB / 1.49 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.7071, allocations: 125.5 kB / 1.49 GB, free: 6.805 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.7078, allocations: 131.8 kB / 1.49 GB, free: 6.676 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.7118, allocations: 3.212 MB / 1.493 GB, free: 3.242 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.7124, allocations: 43.91 kB / 1.493 GB, free: 3.199 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.7125, allocations: 23.98 kB / 1.493 GB, free: 3.176 MB / 1.186 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.0003797/0.7129, allocations: 192.3 kB / 1.494 GB, free: 2.98 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.7131, allocations: 51.72 kB / 1.494 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.7151, allocations: 0.7888 MB / 1.494 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7151, allocations: 4 kB / 1.494 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7152, allocations: 3.984 kB / 1.494 GB, free: 2.121 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.7152, allocations: 0 / 1.494 GB, free: 2.121 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.7188, allocations: 1.494 MB / 1.496 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7188, allocations: 8.062 kB / 1.496 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.7193, allocations: 107.8 kB / 1.496 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.7196, allocations: 68.8 kB / 1.496 GB, free: 356 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.7196, allocations: 12 kB / 1.496 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7215, allocations: 1.672 MB / 1.498 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7215, allocations: 7.938 kB / 1.498 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.7239, allocations: 1.017 MB / 1.499 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.7241, allocations: 63.58 kB / 1.499 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.7242, allocations: 19.88 kB / 1.499 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.7246, allocations: 31.97 kB / 1.499 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7248, allocations: 39.88 kB / 1.499 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.7248, allocations: 27.92 kB / 1.499 GB, free: 13.29 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000568/0.7254, allocations: 358.8 kB / 1.499 GB, free: 12.94 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7254, allocations: 0 / 1.499 GB, free: 12.94 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.005169/0.7306, allocations: 1.394 MB / 1.501 GB, free: 11.55 MB / 1.201 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.01085/0.7414, allocations: 2.21 MB / 1.503 GB, free: 9.266 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.7436, allocations: 0.7839 MB / 1.504 GB, free: 8.453 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.7436, allocations: 0 / 1.504 GB, free: 8.453 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.7445, allocations: 379.2 kB / 1.504 GB, free: 8.07 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.7464, allocations: 343.5 kB / 1.504 GB, free: 7.738 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.7591, allocations: 5.79 MB / 1.51 GB, free: 1.695 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.7594, allocations: 279.5 kB / 1.51 GB, free: 1.395 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006479/0.76, allocations: 140.6 kB / 1.51 GB, free: 1.266 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.7604, allocations: 215.4 kB / 1.51 GB, free: 1.059 MB / 1.201 GB Notification: Performance of SimCode: time 8.51e-07/0.7604, allocations: 0 / 1.51 GB, free: 1.059 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/0.9012, allocations: 71.76 MB / 1.581 GB, free: 10.23 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.14, allocations: 4.062 kB / 1.581 GB, free: 10.23 MB / 1.279 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 28.947182160802186]