Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001516/0.001516, allocations: 107.8 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.001562/0.001562, allocations: 187.7 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.361/1.361, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.635/2.635, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 GB " [Timeout remaining time 177] 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.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 1.104 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9124/0.9143, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01555/0.9298, allocations: 15.51 MB / 1.284 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007846/0.9377, allocations: 4.685 MB / 1.288 GB, free: 9.332 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.9389, allocations: 17.94 kB / 1.288 GB, free: 9.324 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.9397, allocations: 197.3 kB / 1.289 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.9418, allocations: 0.5936 MB / 1.289 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.9439, allocations: 0.5728 MB / 1.29 GB, free: 8.574 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.9455, allocations: 0.9614 MB / 1.291 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.946, allocations: 273.4 kB / 1.291 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008404/0.9468, allocations: 423.1 kB / 1.291 GB, free: 7.836 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.9473, allocations: 325.5 kB / 1.292 GB, free: 7.695 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.9474, allocations: 26.34 kB / 1.292 GB, free: 7.695 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.948, allocations: 216.4 kB / 1.292 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.9481, allocations: 91.12 kB / 1.292 GB, free: 7.566 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.9483, allocations: 201.8 kB / 1.292 GB, free: 7.449 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.9492, allocations: 0.5128 MB / 1.293 GB, free: 7.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9492, allocations: 0 / 1.293 GB, free: 7.246 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9492, allocations: 5.312 kB / 1.293 GB, free: 7.242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.9492, allocations: 0 / 1.293 GB, free: 7.242 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001256/0.9504, allocations: 0.7381 MB / 1.293 GB, free: 6.645 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.9505, allocations: 9.625 kB / 1.293 GB, free: 6.645 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.9506, allocations: 59.2 kB / 1.294 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.9506, allocations: 56.7 kB / 1.294 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.9514, allocations: 408.8 kB / 1.294 GB, free: 6.262 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.9514, allocations: 26.44 kB / 1.294 GB, free: 6.246 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.9514, allocations: 27.12 kB / 1.294 GB, free: 6.238 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.9518, allocations: 193.5 kB / 1.294 GB, free: 6.145 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9518, allocations: 1.062 kB / 1.294 GB, free: 6.145 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.9519, allocations: 9.5 kB / 1.294 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9519, allocations: 5.812 kB / 1.294 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.9521, allocations: 132.6 kB / 1.294 GB, free: 6.098 MB / 1.014 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.001595/0.9537, allocations: 0.874 MB / 1.295 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.9541, allocations: 113.2 kB / 1.295 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.9542, allocations: 46.27 kB / 1.295 GB, free: 5.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.9546, allocations: 333 kB / 1.296 GB, free: 5.051 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.9546, allocations: 37.45 kB / 1.296 GB, free: 5.008 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.9546, allocations: 0 / 1.296 GB, free: 5.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003668/0.955, allocations: 186.5 kB / 1.296 GB, free: 4.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.955, allocations: 52.66 kB / 1.296 GB, free: 4.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.9556, allocations: 457.7 kB / 1.296 GB, free: 4.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.9556, allocations: 32.64 kB / 1.296 GB, free: 4.602 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.9558, allocations: 209.6 kB / 1.297 GB, free: 4.426 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.9558, allocations: 44.91 kB / 1.297 GB, free: 4.391 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.9559, allocations: 59.33 kB / 1.297 GB, free: 4.355 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.9561, allocations: 351.3 kB / 1.297 GB, free: 4.023 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.9562, allocations: 53.42 kB / 1.297 GB, free: 4.004 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.9564, allocations: 105.3 kB / 1.297 GB, free: 3.934 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.9566, allocations: 138.7 kB / 1.297 GB, free: 3.852 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9566, allocations: 0 / 1.297 GB, free: 3.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003563/0.9569, allocations: 217.2 kB / 1.298 GB, free: 3.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9569, allocations: 8.594 kB / 1.298 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9569, allocations: 3.844 kB / 1.298 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.957, allocations: 0 / 1.298 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.9572, allocations: 45.09 kB / 1.298 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.9572, allocations: 1.594 kB / 1.298 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.9575, allocations: 33.23 kB / 1.298 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.9575, allocations: 11.39 kB / 1.298 GB, free: 3.727 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.9577, allocations: 162.1 kB / 1.298 GB, free: 3.578 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.9577, allocations: 47.61 kB / 1.298 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.9581, allocations: 196.1 kB / 1.298 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.9581, allocations: 3.219 kB / 1.298 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9581, allocations: 0 / 1.298 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.9581, allocations: 0.75 kB / 1.298 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.9589, allocations: 0.6284 MB / 1.299 GB, free: 2.996 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.9589, allocations: 6.203 kB / 1.299 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.959, allocations: 22.56 kB / 1.299 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.959, allocations: 1.406 kB / 1.299 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.959, allocations: 9.344 kB / 1.299 GB, free: 2.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.959, allocations: 4.781 kB / 1.299 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.959, allocations: 6.531 kB / 1.299 GB, free: 2.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.9593, allocations: 298.2 kB / 1.299 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.9595, allocations: 137 kB / 1.299 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.9595, allocations: 3.422 kB / 1.299 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.9598, allocations: 17.83 kB / 1.299 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.9598, allocations: 13.08 kB / 1.299 GB, free: 2.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.9598, allocations: 6.203 kB / 1.299 GB, free: 2.609 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003853/0.9602, allocations: 322.6 kB / 1.299 GB, free: 2.457 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9602, allocations: 5.188 kB / 1.299 GB, free: 2.453 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004331/0.9606, allocations: 108.8 kB / 1.3 GB, free: 2.43 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009739/0.9616, allocations: 0.9436 MB / 1.3 GB, free: 1.637 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.9619, allocations: 128 kB / 1.301 GB, free: 1.598 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9619, allocations: 1.188 kB / 1.301 GB, free: 1.598 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/0.962, allocations: 53.73 kB / 1.301 GB, free: 1.582 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.9629, allocations: 178.6 kB / 1.301 GB, free: 1.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.9676, allocations: 3.289 MB / 1.304 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.9681, allocations: 0.8074 MB / 1.305 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000255/0.9683, allocations: 70.58 kB / 1.305 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.9685, allocations: 121.4 kB / 1.305 GB, free: 14.68 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.9685, allocations: 4 kB / 1.305 GB, free: 14.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/1.008, allocations: 11.19 MB / 1.316 GB, free: 13.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11.04, allocations: 13.06 kB / 1.316 GB, free: 13.5 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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: 16.977070203982294]