Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004741/0.004741, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001356/0.001356, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.358/2.358, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 63.89 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5814, allocations: 159.1 MB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1563/0.7378, allocations: 163.2 MB / 1.38 GB, free: 14.27 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.7468, allocations: 8.125 MB / 1.387 GB, free: 6.113 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.747, allocations: 15.94 kB / 1.387 GB, free: 6.098 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.7478, allocations: 349.8 kB / 1.388 GB, free: 5.754 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.7491, allocations: 0.7287 MB / 1.389 GB, free: 5.023 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.7528, allocations: 2.132 MB / 1.391 GB, free: 2.898 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.754, allocations: 1.372 MB / 1.392 GB, free: 1.52 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.7546, allocations: 425.5 kB / 1.392 GB, free: 1.098 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.757, allocations: 1.421 MB / 1.394 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.7576, allocations: 450.1 kB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.7576, allocations: 48 kB / 1.394 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005461/0.7631, allocations: 3.636 MB / 1.398 GB, free: 11.54 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.7633, allocations: 151.5 kB / 1.398 GB, free: 11.39 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.7636, allocations: 342.5 kB / 1.398 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.7662, allocations: 2.564 MB / 1.401 GB, free: 8.488 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7663, allocations: 4 kB / 1.401 GB, free: 8.484 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7663, allocations: 0 / 1.401 GB, free: 8.484 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7663, allocations: 0 / 1.401 GB, free: 8.484 MB / 1.123 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.001644/0.7679, allocations: 1.043 MB / 1.402 GB, free: 7.391 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.768, allocations: 12.03 kB / 1.402 GB, free: 7.379 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.969e-05/0.7681, allocations: 94.52 kB / 1.402 GB, free: 7.277 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.769, allocations: 139.5 kB / 1.402 GB, free: 7.141 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.7696, allocations: 433.8 kB / 1.402 GB, free: 6.68 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.7697, allocations: 49.31 kB / 1.402 GB, free: 6.629 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.7697, allocations: 51.98 kB / 1.402 GB, free: 6.578 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.7708, allocations: 0.6487 MB / 1.403 GB, free: 5.879 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.7708, allocations: 7.938 kB / 1.403 GB, free: 5.871 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.7709, allocations: 24 kB / 1.403 GB, free: 5.848 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.7709, allocations: 16 kB / 1.403 GB, free: 5.832 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/0.7718, allocations: 463.6 kB / 1.404 GB, free: 5.379 MB / 1.123 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.01395/0.7858, allocations: 6.511 MB / 1.41 GB, free: 14.59 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.7862, allocations: 159.2 kB / 1.41 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.7864, allocations: 117.3 kB / 1.41 GB, free: 14.31 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.797, allocations: 3.853 MB / 1.414 GB, free: 10.3 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7971, allocations: 42.8 kB / 1.414 GB, free: 10.25 MB / 1.139 GB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.7971, allocations: 0 / 1.414 GB, free: 10.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=40): time 0.07778/0.8748, allocations: 30.62 MB / 1.444 GB, free: 11.6 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.8749, allocations: 144.4 kB / 1.444 GB, free: 11.43 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.8755, allocations: 457.8 kB / 1.445 GB, free: 10.98 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.8755, allocations: 33.7 kB / 1.445 GB, free: 10.94 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.8758, allocations: 312.2 kB / 1.445 GB, free: 10.63 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.8759, allocations: 146.7 kB / 1.445 GB, free: 10.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.8761, allocations: 102.2 kB / 1.445 GB, free: 10.38 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8762, allocations: 362.8 kB / 1.445 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.8766, allocations: 185 kB / 1.446 GB, free: 9.832 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.8772, allocations: 349.2 kB / 1.446 GB, free: 9.426 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.8781, allocations: 0.5184 MB / 1.446 GB, free: 8.848 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8781, allocations: 0 / 1.446 GB, free: 8.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001605/0.8797, allocations: 0.6952 MB / 1.447 GB, free: 8.141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8797, allocations: 10.66 kB / 1.447 GB, free: 8.133 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8798, allocations: 7.938 kB / 1.447 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.8802, allocations: 122 kB / 1.447 GB, free: 8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.8806, allocations: 111.8 kB / 1.447 GB, free: 7.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.8838, allocations: 3.422 MB / 1.451 GB, free: 4.191 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.8842, allocations: 31.97 kB / 1.451 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.8842, allocations: 24 kB / 1.451 GB, free: 4.137 MB / 1.17 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.0002231/0.8844, allocations: 190.2 kB / 1.451 GB, free: 3.941 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.8846, allocations: 59.61 kB / 1.451 GB, free: 3.883 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.886, allocations: 0.6544 MB / 1.452 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.886, allocations: 4 kB / 1.452 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.886, allocations: 3.984 kB / 1.452 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.886, allocations: 0 / 1.452 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.888, allocations: 1.203 MB / 1.453 GB, free: 1.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.888, allocations: 4 kB / 1.453 GB, free: 1.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.8883, allocations: 68.39 kB / 1.453 GB, free: 1.809 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.8886, allocations: 68.81 kB / 1.453 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.8886, allocations: 8 kB / 1.453 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.8903, allocations: 1.748 MB / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8903, allocations: 4 kB / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.8917, allocations: 0.7247 MB / 1.455 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.8918, allocations: 128.8 kB / 1.456 GB, free: 14.9 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.8919, allocations: 11.98 kB / 1.456 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.8922, allocations: 19.98 kB / 1.456 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.8923, allocations: 43.91 kB / 1.456 GB, free: 14.83 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.8923, allocations: 12 kB / 1.456 GB, free: 14.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003988/0.8927, allocations: 358.8 kB / 1.456 GB, free: 14.46 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8928, allocations: 0 / 1.456 GB, free: 14.46 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001314/0.8941, allocations: 0.5656 MB / 1.456 GB, free: 13.9 MB / 1.186 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.003291/0.8974, allocations: 1.732 MB / 1.458 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.8987, allocations: 0.6855 MB / 1.459 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8987, allocations: 4 kB / 1.459 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.8993, allocations: 279.4 kB / 1.459 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.9006, allocations: 307.5 kB / 1.459 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/0.9085, allocations: 5.35 MB / 1.465 GB, free: 5.145 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.909, allocations: 0.8628 MB / 1.465 GB, free: 4.254 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003415/0.9093, allocations: 117 kB / 1.466 GB, free: 4.148 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.9096, allocations: 187.4 kB / 1.466 GB, free: 3.965 MB / 1.186 GB Notification: Performance of SimCode: time 2.41e-07/0.9096, allocations: 0 / 1.466 GB, free: 3.965 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.224/5.134, allocations: 28.55 MB / 1.494 GB, free: 7.836 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/20.42, allocations: 4.062 kB / 1.494 GB, free: 7.832 MB / 1.217 GB (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches