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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 497.2 MB / 0.7812 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.8709, allocations: 173.9 MB / 1.304 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1824/1.053, allocations: 163.8 MB / 1.464 GB, free: 9.555 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01299/1.066, allocations: 8.135 MB / 1.472 GB, free: 4.125 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/1.067, allocations: 26.72 kB / 1.472 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/1.069, allocations: 367.2 kB / 1.472 GB, free: 3.863 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/1.072, allocations: 0.7374 MB / 1.473 GB, free: 3.285 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00731/1.079, allocations: 2.149 MB / 1.475 GB, free: 1.727 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002251/1.081, allocations: 1.365 MB / 1.476 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/1.082, allocations: 376.9 kB / 1.477 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/1.086, allocations: 1.462 MB / 1.478 GB, free: 15.73 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009949/1.087, allocations: 463.2 kB / 1.479 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/1.087, allocations: 52.19 kB / 1.479 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008151/1.095, allocations: 3.63 MB / 1.482 GB, free: 13.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/1.095, allocations: 158.7 kB / 1.482 GB, free: 13.46 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006702/1.096, allocations: 346.8 kB / 1.483 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005572/1.102, allocations: 2.571 MB / 1.485 GB, free: 11.57 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.102, allocations: 0 / 1.485 GB, free: 11.57 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.345e-06/1.102, allocations: 1.406 kB / 1.485 GB, free: 11.57 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.267e-05/1.102, allocations: 0 / 1.485 GB, free: 11.57 MB / 1.17 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.003074/1.105, allocations: 1.043 MB / 1.486 GB, free: 10.76 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.105, allocations: 9.062 kB / 1.486 GB, free: 10.76 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/1.105, allocations: 97.8 kB / 1.486 GB, free: 10.67 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.106, allocations: 134 kB / 1.486 GB, free: 10.61 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/1.107, allocations: 437.3 kB / 1.487 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/1.107, allocations: 38.16 kB / 1.487 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/1.107, allocations: 55 kB / 1.487 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.108, allocations: 0.6557 MB / 1.488 GB, free: 9.73 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.108, allocations: 5 kB / 1.488 GB, free: 9.727 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/1.108, allocations: 31.62 kB / 1.488 GB, free: 9.703 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/1.108, allocations: 13.22 kB / 1.488 GB, free: 9.703 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/1.109, allocations: 464.2 kB / 1.488 GB, free: 9.484 MB / 1.17 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.01675/1.126, allocations: 6.5 MB / 1.494 GB, free: 4.238 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/1.127, allocations: 159.1 kB / 1.495 GB, free: 4.074 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/1.127, allocations: 109.3 kB / 1.495 GB, free: 3.965 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/1.139, allocations: 3.857 MB / 1.498 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.139, allocations: 42.8 kB / 1.498 GB, free: 15.91 MB / 1.186 GB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/1.139, allocations: 0 / 1.498 GB, free: 15.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=40): time 0.08268/1.222, allocations: 30.61 MB / 1.528 GB, free: 1.266 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/1.222, allocations: 152.3 kB / 1.528 GB, free: 1.086 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/1.222, allocations: 461.8 kB / 1.529 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/1.222, allocations: 29.7 kB / 1.529 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/1.223, allocations: 308.2 kB / 1.529 GB, free: 296 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.223, allocations: 158.6 kB / 1.529 GB, free: 136 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.223, allocations: 102.2 kB / 1.53 GB, free: 28 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.223, allocations: 358.8 kB / 1.53 GB, free: 15.67 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/1.224, allocations: 189 kB / 1.53 GB, free: 15.48 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/1.224, allocations: 345.2 kB / 1.53 GB, free: 15.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/1.225, allocations: 0.52 MB / 1.531 GB, free: 14.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.225, allocations: 0 / 1.531 GB, free: 14.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001793/1.227, allocations: 0.6955 MB / 1.532 GB, free: 13.79 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.227, allocations: 8 kB / 1.532 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.227, allocations: 4 kB / 1.532 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/1.227, allocations: 121.9 kB / 1.532 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/1.228, allocations: 111.9 kB / 1.532 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/1.231, allocations: 3.414 MB / 1.535 GB, free: 9.848 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/1.232, allocations: 28.05 kB / 1.535 GB, free: 9.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/1.232, allocations: 31.98 kB / 1.535 GB, free: 9.789 MB / 1.217 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.0002972/1.232, allocations: 189.6 kB / 1.535 GB, free: 9.594 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/1.233, allocations: 59.61 kB / 1.535 GB, free: 9.535 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.234, allocations: 0.6459 MB / 1.536 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/1.234, allocations: 8 kB / 1.536 GB, free: 8.852 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.234, allocations: 0 / 1.536 GB, free: 8.852 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.234, allocations: 3.984 kB / 1.536 GB, free: 8.848 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/1.237, allocations: 1.198 MB / 1.537 GB, free: 7.543 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.237, allocations: 4 kB / 1.537 GB, free: 7.539 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/1.237, allocations: 67.89 kB / 1.537 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/1.237, allocations: 73.34 kB / 1.537 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/1.237, allocations: 12 kB / 1.537 GB, free: 7.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.239, allocations: 1.741 MB / 1.539 GB, free: 5.512 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.239, allocations: 7.984 kB / 1.539 GB, free: 5.504 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.241, allocations: 0.7285 MB / 1.54 GB, free: 4.707 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/1.241, allocations: 128.8 kB / 1.54 GB, free: 4.562 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.241, allocations: 12 kB / 1.54 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/1.242, allocations: 23.97 kB / 1.54 GB, free: 4.527 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/1.242, allocations: 35.91 kB / 1.54 GB, free: 4.492 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/1.242, allocations: 16 kB / 1.54 GB, free: 4.477 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004863/1.242, allocations: 358.8 kB / 1.54 GB, free: 4.125 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.242, allocations: 0 / 1.54 GB, free: 4.125 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002433/1.245, allocations: 0.5656 MB / 1.541 GB, free: 3.559 MB / 1.217 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.004342/1.249, allocations: 1.742 MB / 1.543 GB, free: 1.746 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.251, allocations: 0.6424 MB / 1.543 GB, free: 1.078 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.251, allocations: 0 / 1.543 GB, free: 1.078 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/1.251, allocations: 275.4 kB / 1.543 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.253, allocations: 306.6 kB / 1.544 GB, free: 0.5039 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009228/1.262, allocations: 5.335 MB / 1.549 GB, free: 10.85 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/1.262, allocations: 0.8667 MB / 1.55 GB, free: 9.957 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005658/1.263, allocations: 118.1 kB / 1.55 GB, free: 9.852 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.263, allocations: 191.4 kB / 1.55 GB, free: 9.668 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/1.263, allocations: 0 / 1.55 GB, free: 9.668 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07338/1.337, allocations: 28.66 MB / 1.578 GB, free: 13.42 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.38, allocations: 8.312 kB / 1.578 GB, free: 13.41 MB / 1.264 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.485832650214434]