Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.001589/0.001589, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002023/0.002023, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.078/3.078, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",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.001974/0.001974, allocations: 65.41 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3064, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1708/0.4772, allocations: 144.2 MB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.4882, allocations: 7.482 MB / 1.475 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000589/0.4888, allocations: 23.88 kB / 1.475 GB, free: 9.242 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000967/0.4897, allocations: 325.9 kB / 1.475 GB, free: 8.922 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.4915, allocations: 0.7606 MB / 1.476 GB, free: 8.16 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.4963, allocations: 2.161 MB / 1.478 GB, free: 6.004 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.4981, allocations: 1.38 MB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.4986, allocations: 365.8 kB / 1.48 GB, free: 4.258 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.5018, allocations: 1.49 MB / 1.481 GB, free: 2.762 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.5025, allocations: 466.2 kB / 1.482 GB, free: 2.305 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.5026, allocations: 52 kB / 1.482 GB, free: 2.254 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/0.509, allocations: 3.589 MB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.5092, allocations: 163.4 kB / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.5097, allocations: 286.8 kB / 1.486 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.5138, allocations: 2.575 MB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5138, allocations: 0 / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5138, allocations: 0 / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.5138, allocations: 0 / 1.488 GB, free: 11.64 MB / 1.186 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.002027/0.5159, allocations: 0.9734 MB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5159, allocations: 8.031 kB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.509e-05/0.5159, allocations: 17.25 kB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.516, allocations: 94.52 kB / 1.489 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5172, allocations: 139.5 kB / 1.489 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.5178, allocations: 367.3 kB / 1.49 GB, free: 9.977 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.5179, allocations: 41.31 kB / 1.49 GB, free: 9.938 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/0.518, allocations: 59.95 kB / 1.49 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5194, allocations: 0.9944 MB / 1.491 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5194, allocations: 0 / 1.491 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.5194, allocations: 24 kB / 1.491 GB, free: 8.73 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.5194, allocations: 12 kB / 1.491 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.5205, allocations: 475.5 kB / 1.491 GB, free: 8.254 MB / 1.186 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.0157/0.5362, allocations: 5.603 MB / 1.497 GB, free: 2.559 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.5366, allocations: 151.2 kB / 1.497 GB, free: 2.402 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.5369, allocations: 121.2 kB / 1.497 GB, free: 2.281 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.5483, allocations: 3.27 MB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.5483, allocations: 46.67 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.845e-06/0.5483, allocations: 0 / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.08431/0.6327, allocations: 30.54 MB / 1.53 GB, free: 412 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.6327, allocations: 140.4 kB / 1.53 GB, free: 240 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/0.6335, allocations: 457.8 kB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.6335, allocations: 33.7 kB / 1.531 GB, free: 15.75 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.6338, allocations: 312.1 kB / 1.531 GB, free: 15.43 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.6339, allocations: 150.7 kB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.6341, allocations: 102.3 kB / 1.531 GB, free: 15.18 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6343, allocations: 358.8 kB / 1.531 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.6347, allocations: 185.2 kB / 1.532 GB, free: 14.64 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.6354, allocations: 431.2 kB / 1.532 GB, free: 14.13 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6364, allocations: 0.5382 MB / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6364, allocations: 0 / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001927/0.6383, allocations: 0.6859 MB / 1.533 GB, free: 12.83 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.6384, allocations: 8 kB / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.6384, allocations: 11.92 kB / 1.533 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.6389, allocations: 122 kB / 1.533 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.6394, allocations: 111.8 kB / 1.533 GB, free: 12.58 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.643, allocations: 3.191 MB / 1.537 GB, free: 9.16 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.6436, allocations: 31.98 kB / 1.537 GB, free: 9.129 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.6437, allocations: 23.98 kB / 1.537 GB, free: 9.105 MB / 1.232 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.0003673/0.6441, allocations: 197.7 kB / 1.537 GB, free: 8.902 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.6443, allocations: 55.67 kB / 1.537 GB, free: 8.848 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.6459, allocations: 0.6534 MB / 1.537 GB, free: 8.164 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6459, allocations: 0 / 1.537 GB, free: 8.164 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6459, allocations: 4 kB / 1.537 GB, free: 8.16 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6459, allocations: 3.984 kB / 1.537 GB, free: 8.156 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.6482, allocations: 1.093 MB / 1.539 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.6483, allocations: 8.062 kB / 1.539 GB, free: 6.953 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.6486, allocations: 63.89 kB / 1.539 GB, free: 6.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.6489, allocations: 72.75 kB / 1.539 GB, free: 6.816 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.6489, allocations: 12 kB / 1.539 GB, free: 6.805 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.6507, allocations: 1.63 MB / 1.54 GB, free: 5.062 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6507, allocations: 4 kB / 1.54 GB, free: 5.059 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.6523, allocations: 0.7234 MB / 1.541 GB, free: 4.27 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.6524, allocations: 55.77 kB / 1.541 GB, free: 4.215 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6525, allocations: 15.98 kB / 1.541 GB, free: 4.199 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.6529, allocations: 19.98 kB / 1.541 GB, free: 4.18 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.653, allocations: 35.83 kB / 1.541 GB, free: 4.145 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.6531, allocations: 19.94 kB / 1.541 GB, free: 4.125 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004761/0.6536, allocations: 358.8 kB / 1.541 GB, free: 3.773 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6536, allocations: 0 / 1.541 GB, free: 3.773 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001695/0.6552, allocations: 0.5695 MB / 1.542 GB, free: 3.203 MB / 1.232 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.003899/0.6591, allocations: 1.739 MB / 1.544 GB, free: 1.383 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.6607, allocations: 0.6384 MB / 1.544 GB, free: 0.7188 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6607, allocations: 0 / 1.544 GB, free: 0.7188 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.6613, allocations: 287.6 kB / 1.545 GB, free: 436 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6629, allocations: 300.5 kB / 1.545 GB, free: 140 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/0.6724, allocations: 5.361 MB / 1.55 GB, free: 10.47 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6727, allocations: 266.8 kB / 1.55 GB, free: 10.18 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005361/0.6732, allocations: 104.5 kB / 1.551 GB, free: 10.09 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.6736, allocations: 187.4 kB / 1.551 GB, free: 9.906 MB / 1.248 GB Notification: Performance of SimCode: time 1.393e-06/0.6736, allocations: 0 / 1.551 GB, free: 9.906 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06729/0.7408, allocations: 29.91 MB / 1.58 GB, free: 12.54 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.59, allocations: 19 kB / 1.58 GB, free: 12.53 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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: 21.253646053024568]