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.001427/0.001427, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001433/0.001433, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] 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.518/2.518, allocations: 476.7 MB / 0.7628 GB, free: 15.09 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.001809/0.001809, allocations: 68.12 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7561, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01396/0.77, allocations: 15.65 MB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006476/0.7765, allocations: 4.718 MB / 1.291 GB, free: 9.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.777, allocations: 19.78 kB / 1.291 GB, free: 9.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.7776, allocations: 191.6 kB / 1.291 GB, free: 9.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.7789, allocations: 0.5899 MB / 1.292 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.7804, allocations: 0.5852 MB / 1.293 GB, free: 8.488 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.7816, allocations: 0.9585 MB / 1.294 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.782, allocations: 263.1 kB / 1.294 GB, free: 7.938 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.7826, allocations: 419.6 kB / 1.294 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.783, allocations: 314.5 kB / 1.295 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.7831, allocations: 23.88 kB / 1.295 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.7835, allocations: 226.6 kB / 1.295 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.7837, allocations: 91.38 kB / 1.295 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.7839, allocations: 204.4 kB / 1.295 GB, free: 7.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.7846, allocations: 0.5096 MB / 1.296 GB, free: 7.168 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7846, allocations: 2.344 kB / 1.296 GB, free: 7.168 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7846, allocations: 0 / 1.296 GB, free: 7.168 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.7846, allocations: 0 / 1.296 GB, free: 7.168 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.001094/0.7857, allocations: 0.7424 MB / 1.296 GB, free: 6.566 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.7857, allocations: 9.344 kB / 1.296 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/0.7858, allocations: 54.28 kB / 1.296 GB, free: 6.516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.7859, allocations: 56.08 kB / 1.296 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.7865, allocations: 412.4 kB / 1.297 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.7865, allocations: 23.53 kB / 1.297 GB, free: 6.172 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.7865, allocations: 22.02 kB / 1.297 GB, free: 6.168 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.7868, allocations: 195.9 kB / 1.297 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.7868, allocations: 0 / 1.297 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.7869, allocations: 5.844 kB / 1.297 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7869, allocations: 6.531 kB / 1.297 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.7871, allocations: 137.8 kB / 1.297 GB, free: 6.023 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.001374/0.7885, allocations: 0.8871 MB / 1.298 GB, free: 5.414 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.7889, allocations: 106.3 kB / 1.298 GB, free: 5.371 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.789, allocations: 44.17 kB / 1.298 GB, free: 5.352 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.7892, allocations: 340.4 kB / 1.298 GB, free: 4.969 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.7893, allocations: 35.17 kB / 1.299 GB, free: 4.926 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.7893, allocations: 0 / 1.299 GB, free: 4.926 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003276/0.7896, allocations: 181.5 kB / 1.299 GB, free: 4.832 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.7896, allocations: 57.09 kB / 1.299 GB, free: 4.766 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.7901, allocations: 457.1 kB / 1.299 GB, free: 4.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.7902, allocations: 30.98 kB / 1.299 GB, free: 4.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.7903, allocations: 216.6 kB / 1.299 GB, free: 4.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.7904, allocations: 46.55 kB / 1.299 GB, free: 4.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.7905, allocations: 58.19 kB / 1.3 GB, free: 4.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7906, allocations: 352.7 kB / 1.3 GB, free: 3.938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.7907, allocations: 49.2 kB / 1.3 GB, free: 3.922 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.7908, allocations: 104.7 kB / 1.3 GB, free: 3.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.791, allocations: 134.4 kB / 1.3 GB, free: 3.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.791, allocations: 0 / 1.3 GB, free: 3.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003338/0.7914, allocations: 223.2 kB / 1.3 GB, free: 3.668 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.7914, allocations: 5.531 kB / 1.3 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7914, allocations: 0.7969 kB / 1.3 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.7914, allocations: 3.312 kB / 1.3 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.7916, allocations: 48.73 kB / 1.3 GB, free: 3.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7916, allocations: 0.7031 kB / 1.3 GB, free: 3.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.7919, allocations: 40.09 kB / 1.3 GB, free: 3.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.7919, allocations: 9.797 kB / 1.3 GB, free: 3.637 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.0001459/0.7921, allocations: 164 kB / 1.301 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.7921, allocations: 39.66 kB / 1.301 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.7924, allocations: 198 kB / 1.301 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.7924, allocations: 6.562 kB / 1.301 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.7924, allocations: 4 kB / 1.301 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7925, allocations: 0.8438 kB / 1.301 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/0.7932, allocations: 0.623 MB / 1.301 GB, free: 2.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7932, allocations: 4.094 kB / 1.301 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.7933, allocations: 27.28 kB / 1.301 GB, free: 2.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7933, allocations: 4.703 kB / 1.301 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7933, allocations: 8.781 kB / 1.301 GB, free: 2.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7933, allocations: 3.938 kB / 1.301 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7933, allocations: 3.969 kB / 1.301 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.7936, allocations: 290.2 kB / 1.302 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.7937, allocations: 141.3 kB / 1.302 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.7938, allocations: 7.172 kB / 1.302 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.794, allocations: 14.05 kB / 1.302 GB, free: 2.531 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.794, allocations: 8.047 kB / 1.302 GB, free: 2.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.794, allocations: 10.61 kB / 1.302 GB, free: 2.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003842/0.7944, allocations: 323.2 kB / 1.302 GB, free: 2.375 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7944, allocations: 0.9062 kB / 1.302 GB, free: 2.375 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004419/0.7949, allocations: 111.7 kB / 1.302 GB, free: 2.348 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.001053/0.7959, allocations: 0.9425 MB / 1.303 GB, free: 1.555 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.7962, allocations: 128.8 kB / 1.303 GB, free: 1.516 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7962, allocations: 0 / 1.303 GB, free: 1.516 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.545e-05/0.7963, allocations: 59.73 kB / 1.303 GB, free: 1.496 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.7972, allocations: 174.5 kB / 1.304 GB, free: 1.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.8014, allocations: 3.28 MB / 1.307 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.8018, allocations: 0.8111 MB / 1.308 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.802, allocations: 68.11 kB / 1.308 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.8022, allocations: 124.8 kB / 1.308 GB, free: 14.6 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.8022, allocations: 1.375 kB / 1.308 GB, free: 14.6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.8391, allocations: 11.17 MB / 1.319 GB, free: 13.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.807, allocations: 7.625 kB / 1.319 GB, free: 13.41 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y1 in file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.147286838000582]