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.001572/0.001572, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001882/0.001882, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.768/2.768, allocations: 476.7 MB / 0.7629 GB, free: 15.23 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.00235/0.00235, allocations: 67.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 168.7 MB / 1.272 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01725/1.092, allocations: 15.65 MB / 1.287 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007705/1.1, allocations: 4.722 MB / 1.291 GB, free: 9.301 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/1.101, allocations: 16.25 kB / 1.291 GB, free: 9.293 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007582/1.102, allocations: 198.3 kB / 1.292 GB, free: 9.172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/1.104, allocations: 0.5841 MB / 1.292 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/1.105, allocations: 0.5802 MB / 1.293 GB, free: 8.547 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001558/1.107, allocations: 0.9746 MB / 1.294 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/1.108, allocations: 250.7 kB / 1.294 GB, free: 7.992 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/1.108, allocations: 423.9 kB / 1.294 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/1.109, allocations: 323.4 kB / 1.295 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/1.109, allocations: 24.12 kB / 1.295 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/1.109, allocations: 218 kB / 1.295 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/1.11, allocations: 90.47 kB / 1.295 GB, free: 7.539 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/1.11, allocations: 205 kB / 1.295 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009538/1.111, allocations: 0.5052 MB / 1.296 GB, free: 7.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.111, allocations: 1.844 kB / 1.296 GB, free: 7.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.111, allocations: 0 / 1.296 GB, free: 7.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.111, allocations: 0 / 1.296 GB, free: 7.223 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.00138/1.112, allocations: 0.746 MB / 1.296 GB, free: 6.617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.112, allocations: 10.53 kB / 1.296 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.654e-05/1.112, allocations: 53.39 kB / 1.296 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/1.112, allocations: 53.27 kB / 1.297 GB, free: 6.539 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/1.113, allocations: 412.1 kB / 1.297 GB, free: 6.238 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/1.113, allocations: 23.12 kB / 1.297 GB, free: 6.227 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/1.113, allocations: 25.77 kB / 1.297 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/1.114, allocations: 196.5 kB / 1.297 GB, free: 6.125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.114, allocations: 0.6094 kB / 1.297 GB, free: 6.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/1.114, allocations: 9.344 kB / 1.297 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/1.114, allocations: 3.938 kB / 1.297 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/1.114, allocations: 136.5 kB / 1.297 GB, free: 6.074 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.001579/1.116, allocations: 0.8805 MB / 1.298 GB, free: 5.473 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/1.116, allocations: 106.7 kB / 1.298 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/1.116, allocations: 46.45 kB / 1.298 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/1.116, allocations: 338.5 kB / 1.299 GB, free: 5.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.116, allocations: 35.22 kB / 1.299 GB, free: 4.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/1.116, allocations: 0 / 1.299 GB, free: 4.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003973/1.117, allocations: 182.9 kB / 1.299 GB, free: 4.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.117, allocations: 52.84 kB / 1.299 GB, free: 4.824 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/1.118, allocations: 460.8 kB / 1.299 GB, free: 4.609 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/1.118, allocations: 32.33 kB / 1.299 GB, free: 4.574 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/1.118, allocations: 211.9 kB / 1.3 GB, free: 4.398 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/1.118, allocations: 40.34 kB / 1.3 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/1.118, allocations: 58.44 kB / 1.3 GB, free: 4.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.118, allocations: 352.4 kB / 1.3 GB, free: 4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.118, allocations: 50.92 kB / 1.3 GB, free: 3.984 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/1.118, allocations: 110.8 kB / 1.3 GB, free: 3.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/1.119, allocations: 134.3 kB / 1.3 GB, free: 3.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.119, allocations: 0 / 1.3 GB, free: 3.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003687/1.119, allocations: 214.8 kB / 1.3 GB, free: 3.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.119, allocations: 5.844 kB / 1.3 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.119, allocations: 2.844 kB / 1.3 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.119, allocations: 6.344 kB / 1.3 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/1.119, allocations: 42.59 kB / 1.301 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.119, allocations: 3.141 kB / 1.301 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/1.119, allocations: 37.48 kB / 1.301 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.12, allocations: 11.72 kB / 1.301 GB, free: 3.699 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.0001812/1.12, allocations: 167.1 kB / 1.301 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/1.12, allocations: 40.25 kB / 1.301 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/1.12, allocations: 195.4 kB / 1.301 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.12, allocations: 10.61 kB / 1.301 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.12, allocations: 0 / 1.301 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.12, allocations: 5.156 kB / 1.301 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/1.121, allocations: 0.6285 MB / 1.302 GB, free: 2.965 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.121, allocations: 4.031 kB / 1.302 GB, free: 2.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.121, allocations: 23.83 kB / 1.302 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.121, allocations: 3.031 kB / 1.302 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.121, allocations: 3.828 kB / 1.302 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/1.121, allocations: 5.625 kB / 1.302 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.121, allocations: 2.531 kB / 1.302 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/1.122, allocations: 294.3 kB / 1.302 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/1.122, allocations: 138 kB / 1.302 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/1.122, allocations: 6.484 kB / 1.302 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/1.122, allocations: 13.42 kB / 1.302 GB, free: 2.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/1.122, allocations: 9.656 kB / 1.302 GB, free: 2.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/1.122, allocations: 13.12 kB / 1.302 GB, free: 2.582 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004603/1.123, allocations: 324.3 kB / 1.302 GB, free: 2.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.123, allocations: 0 / 1.302 GB, free: 2.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000544/1.123, allocations: 107.4 kB / 1.302 GB, free: 2.406 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.001265/1.124, allocations: 0.9409 MB / 1.303 GB, free: 1.613 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003821/1.125, allocations: 128.6 kB / 1.304 GB, free: 1.578 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.125, allocations: 5.844 kB / 1.304 GB, free: 1.574 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/1.125, allocations: 58.5 kB / 1.304 GB, free: 1.555 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.126, allocations: 186 kB / 1.304 GB, free: 1.484 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/1.131, allocations: 3.289 MB / 1.307 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/1.132, allocations: 0.8071 MB / 1.308 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003404/1.132, allocations: 59.86 kB / 1.308 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/1.132, allocations: 129.4 kB / 1.308 GB, free: 14.65 MB / 1.029 GB Notification: Performance of SimCode: time 1.633e-06/1.132, allocations: 0 / 1.308 GB, free: 14.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/1.174, allocations: 11.16 MB / 1.319 GB, free: 13.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.088/10.26, allocations: 15.94 kB / 1.319 GB, free: 13.46 MB / 1.029 GB " [Timeout remaining time 290] (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 --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.639392949000467]