Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.49 GB / 0.7959 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.27 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01806/0.3925, allocations: 15.73 MB / 1.342 GB, free: 2.195 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00678/0.3992, allocations: 4.682 MB / 1.347 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.3998, allocations: 23.75 kB / 1.347 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.4004, allocations: 194.6 kB / 1.347 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.402, allocations: 0.6025 MB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.4037, allocations: 0.584 MB / 1.348 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.4051, allocations: 0.9547 MB / 1.349 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.4056, allocations: 260.4 kB / 1.349 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.4066, allocations: 478.1 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.4072, allocations: 306.6 kB / 1.35 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.4073, allocations: 24 kB / 1.35 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.4079, allocations: 227.6 kB / 1.35 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.408, allocations: 87.55 kB / 1.35 GB, free: 9.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.4082, allocations: 198.8 kB / 1.35 GB, free: 9.578 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009175/0.4091, allocations: 0.5057 MB / 1.351 GB, free: 9.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4092, allocations: 0 / 1.351 GB, free: 9.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4092, allocations: 4 kB / 1.351 GB, free: 9.066 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.4092, allocations: 4 kB / 1.351 GB, free: 9.062 MB / 1.045 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.001433/0.4106, allocations: 0.66 MB / 1.352 GB, free: 8.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4107, allocations: 8.031 kB / 1.352 GB, free: 8.363 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.636e-05/0.4107, allocations: 8.625 kB / 1.352 GB, free: 8.355 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.4107, allocations: 58.72 kB / 1.352 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4109, allocations: 48.66 kB / 1.352 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.4116, allocations: 339 kB / 1.352 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4117, allocations: 16.44 kB / 1.352 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.4117, allocations: 28 kB / 1.352 GB, free: 7.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.4121, allocations: 195.2 kB / 1.352 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4121, allocations: 0 / 1.352 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.4121, allocations: 11.94 kB / 1.352 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4121, allocations: 4 kB / 1.352 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.4124, allocations: 137.6 kB / 1.352 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.414, allocations: 0.8406 MB / 1.353 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.4145, allocations: 118.6 kB / 1.353 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.4146, allocations: 48.83 kB / 1.353 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.4147, allocations: 23.98 kB / 1.353 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4148, allocations: 34.56 kB / 1.353 GB, free: 6.348 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.4148, allocations: 0 / 1.353 GB, free: 6.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003951/0.4152, allocations: 185.2 kB / 1.354 GB, free: 6.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4152, allocations: 55.41 kB / 1.354 GB, free: 6.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.4158, allocations: 441.9 kB / 1.354 GB, free: 5.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.4158, allocations: 33.7 kB / 1.354 GB, free: 5.621 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.416, allocations: 212.4 kB / 1.354 GB, free: 5.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.416, allocations: 43.61 kB / 1.354 GB, free: 5.367 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4161, allocations: 61.66 kB / 1.354 GB, free: 5.301 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4163, allocations: 350.7 kB / 1.355 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4164, allocations: 51.97 kB / 1.355 GB, free: 4.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4166, allocations: 107.7 kB / 1.355 GB, free: 4.777 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.4168, allocations: 127.3 kB / 1.355 GB, free: 4.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4168, allocations: 4 kB / 1.355 GB, free: 4.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004142/0.4172, allocations: 225.2 kB / 1.355 GB, free: 4.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4172, allocations: 4 kB / 1.355 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.4172, allocations: 0 / 1.355 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4172, allocations: 4 kB / 1.355 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.4175, allocations: 43.92 kB / 1.355 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4175, allocations: 0 / 1.355 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4178, allocations: 39.75 kB / 1.355 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.4178, allocations: 12 kB / 1.355 GB, free: 4.309 MB / 1.045 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.0001726/0.418, allocations: 157.7 kB / 1.355 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.4181, allocations: 39.72 kB / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.4184, allocations: 194.1 kB / 1.356 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4184, allocations: 12.06 kB / 1.356 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4184, allocations: 0 / 1.356 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4184, allocations: 0 / 1.356 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.4193, allocations: 0.5942 MB / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4193, allocations: 0 / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.4194, allocations: 27.92 kB / 1.356 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4194, allocations: 0 / 1.356 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4194, allocations: 8 kB / 1.356 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.4194, allocations: 7.938 kB / 1.356 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4194, allocations: 0 / 1.356 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.4198, allocations: 302.7 kB / 1.357 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4199, allocations: 59.66 kB / 1.357 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.4199, allocations: 0 / 1.357 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4202, allocations: 27.98 kB / 1.357 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.4202, allocations: 7.984 kB / 1.357 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4202, allocations: 11.92 kB / 1.357 GB, free: 2.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004152/0.4206, allocations: 319.1 kB / 1.357 GB, free: 2.457 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 0 / 1.357 GB, free: 2.457 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004699/0.4211, allocations: 103.8 kB / 1.357 GB, free: 2.355 MB / 1.045 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.0008802/0.422, allocations: 0.9326 MB / 1.358 GB, free: 1.391 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4223, allocations: 135.8 kB / 1.358 GB, free: 1.258 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4223, allocations: 0 / 1.358 GB, free: 1.258 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.4224, allocations: 59.86 kB / 1.358 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.4234, allocations: 180.7 kB / 1.358 GB, free: 1.023 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.4284, allocations: 3.27 MB / 1.362 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4288, allocations: 0.8074 MB / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.4291, allocations: 67.11 kB / 1.362 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4293, allocations: 123.4 kB / 1.363 GB, free: 12.61 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/0.4293, allocations: 0 / 1.363 GB, free: 12.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.4671, allocations: 11.27 MB / 1.374 GB, free: 1.629 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.12, allocations: 10.12 kB / 1.374 GB, free: 1.621 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.015885359956883]