Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_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.00591/0.00591, allocations: 103.6 kB / 15.73 MB, free: 6.008 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.001451/0.001451, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.451/2.451, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.11 kB / 1.054 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7201, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.152/0.8722, allocations: 163.2 MB / 1.367 GB, free: 9.699 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.8829, allocations: 8.111 MB / 1.375 GB, free: 1.559 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.8837, allocations: 15.94 kB / 1.375 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.8849, allocations: 353.8 kB / 1.375 GB, free: 1.195 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.8871, allocations: 0.7229 MB / 1.376 GB, free: 480 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005225/0.8923, allocations: 2.13 MB / 1.378 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.8942, allocations: 1.364 MB / 1.379 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.895, allocations: 449.4 kB / 1.379 GB, free: 12.54 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.8982, allocations: 1.42 MB / 1.381 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00087/0.8991, allocations: 442.2 kB / 1.381 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.8993, allocations: 52 kB / 1.381 GB, free: 10.62 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.9057, allocations: 3.621 MB / 1.385 GB, free: 7 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.906, allocations: 155.5 kB / 1.385 GB, free: 6.848 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.9066, allocations: 346.4 kB / 1.385 GB, free: 6.508 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.9107, allocations: 2.568 MB / 1.388 GB, free: 3.934 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9107, allocations: 0 / 1.388 GB, free: 3.934 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9107, allocations: 0 / 1.388 GB, free: 3.934 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.9107, allocations: 4 kB / 1.388 GB, free: 3.93 MB / 1.107 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.001895/0.9126, allocations: 1.017 MB / 1.389 GB, free: 2.863 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9127, allocations: 12.03 kB / 1.389 GB, free: 2.852 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.363e-05/0.9128, allocations: 90.52 kB / 1.389 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.9138, allocations: 143.1 kB / 1.389 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.9145, allocations: 429.6 kB / 1.389 GB, free: 2.156 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.9145, allocations: 37.31 kB / 1.39 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/0.9146, allocations: 59.91 kB / 1.39 GB, free: 2.059 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.9156, allocations: 0.6564 MB / 1.39 GB, free: 1.352 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9157, allocations: 0 / 1.39 GB, free: 1.352 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.9157, allocations: 24 kB / 1.39 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.9157, allocations: 16 kB / 1.39 GB, free: 1.312 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.9167, allocations: 475.5 kB / 1.391 GB, free: 0.8477 MB / 1.107 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.0151/0.9318, allocations: 6.483 MB / 1.397 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.9322, allocations: 171.1 kB / 1.397 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.9325, allocations: 125.2 kB / 1.397 GB, free: 9.785 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.944, allocations: 3.849 MB / 1.401 GB, free: 5.785 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.944, allocations: 30.8 kB / 1.401 GB, free: 5.746 MB / 1.123 GB Notification: Performance of pre-optimization done (n=27): time 1.864e-06/0.944, allocations: 0 / 1.401 GB, free: 5.746 MB / 1.123 GB Notification: Performance of matching and sorting (n=40): time 0.08363/1.028, allocations: 30.61 MB / 1.431 GB, free: 7.102 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/1.028, allocations: 140.4 kB / 1.431 GB, free: 6.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/1.028, allocations: 457.8 kB / 1.432 GB, free: 6.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/1.029, allocations: 37.64 kB / 1.432 GB, free: 6.438 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/1.029, allocations: 307.5 kB / 1.432 GB, free: 6.129 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/1.029, allocations: 145.9 kB / 1.432 GB, free: 5.984 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/1.029, allocations: 98.16 kB / 1.432 GB, free: 5.883 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.029, allocations: 362.7 kB / 1.432 GB, free: 5.52 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/1.03, allocations: 185 kB / 1.433 GB, free: 5.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/1.03, allocations: 353.2 kB / 1.433 GB, free: 4.922 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/1.031, allocations: 0.515 MB / 1.433 GB, free: 4.348 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.031, allocations: 4 kB / 1.433 GB, free: 4.344 MB / 1.154 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00169/1.033, allocations: 0.6973 MB / 1.434 GB, free: 3.633 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.033, allocations: 10.19 kB / 1.434 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.033, allocations: 4 kB / 1.434 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/1.033, allocations: 117.6 kB / 1.434 GB, free: 3.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/1.034, allocations: 116.1 kB / 1.434 GB, free: 3.387 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/1.037, allocations: 3.398 MB / 1.438 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/1.037, allocations: 31.97 kB / 1.438 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/1.037, allocations: 24 kB / 1.438 GB, free: 15.66 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.0002493/1.037, allocations: 197.7 kB / 1.438 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/1.038, allocations: 59.38 kB / 1.438 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/1.039, allocations: 0.6521 MB / 1.439 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.039, allocations: 4 kB / 1.439 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/1.039, allocations: 0 / 1.439 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.039, allocations: 3.984 kB / 1.439 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/1.041, allocations: 1.205 MB / 1.44 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.041, allocations: 4 kB / 1.44 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/1.041, allocations: 63.89 kB / 1.44 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/1.042, allocations: 64.81 kB / 1.44 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.042, allocations: 12 kB / 1.44 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/1.043, allocations: 1.74 MB / 1.442 GB, free: 11.37 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.043, allocations: 7.938 kB / 1.442 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.045, allocations: 0.7168 MB / 1.442 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.045, allocations: 124.5 kB / 1.443 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/1.045, allocations: 23.92 kB / 1.443 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/1.045, allocations: 24.05 kB / 1.443 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/1.046, allocations: 31.84 kB / 1.443 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/1.046, allocations: 20 kB / 1.443 GB, free: 10.34 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004159/1.046, allocations: 354.8 kB / 1.443 GB, free: 9.988 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.046, allocations: 8 kB / 1.443 GB, free: 9.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001617/1.048, allocations: 0.5584 MB / 1.444 GB, free: 9.422 MB / 1.17 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.003757/1.051, allocations: 1.726 MB / 1.445 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.053, allocations: 0.6699 MB / 1.446 GB, free: 6.926 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.053, allocations: 4 kB / 1.446 GB, free: 6.922 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/1.054, allocations: 285.5 kB / 1.446 GB, free: 6.633 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.055, allocations: 315.1 kB / 1.446 GB, free: 6.332 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/1.064, allocations: 5.328 MB / 1.452 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/1.064, allocations: 0.8628 MB / 1.452 GB, free: 15.81 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004745/1.065, allocations: 115.4 kB / 1.453 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.065, allocations: 191.4 kB / 1.453 GB, free: 15.51 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/1.065, allocations: 0 / 1.453 GB, free: 15.51 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/1.122, allocations: 28.84 MB / 1.481 GB, free: 3.098 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.03, allocations: 11.58 kB / 1.481 GB, free: 3.086 MB / 1.201 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches