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.001222/0.001222, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001368/0.001368, allocations: 221.2 kB / 22.25 MB, free: 5.102 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.789 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.063/3.063, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",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.001884/0.001884, allocations: 66.59 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3201, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01644/0.3366, allocations: 14.35 MB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006679/0.3433, allocations: 4.277 MB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/0.3438, allocations: 19.81 kB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.3444, allocations: 186.6 kB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.346, allocations: 0.6035 MB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3475, allocations: 0.5809 MB / 1.345 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.3488, allocations: 0.9585 MB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.3492, allocations: 252.4 kB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.35, allocations: 486.1 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.3505, allocations: 306.6 kB / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.3505, allocations: 24 kB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.3509, allocations: 191.7 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3511, allocations: 83.56 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.3512, allocations: 163.1 kB / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.3519, allocations: 0.5057 MB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3519, allocations: 0 / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3519, allocations: 0 / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3519, allocations: 4 kB / 1.348 GB, free: 10.48 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.001104/0.353, allocations: 0.6501 MB / 1.349 GB, free: 9.801 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.353, allocations: 12.03 kB / 1.349 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.3531, allocations: 62.67 kB / 1.349 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.3532, allocations: 48.66 kB / 1.349 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.3538, allocations: 335.2 kB / 1.349 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3538, allocations: 24.31 kB / 1.349 GB, free: 9.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.3539, allocations: 28 kB / 1.349 GB, free: 9.266 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.3542, allocations: 191.3 kB / 1.35 GB, free: 9.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3542, allocations: 0 / 1.35 GB, free: 9.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3542, allocations: 4 kB / 1.35 GB, free: 9.066 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3543, allocations: 8 kB / 1.35 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.3545, allocations: 133.6 kB / 1.35 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3558, allocations: 0.6935 MB / 1.35 GB, free: 8.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.3563, allocations: 110.6 kB / 1.351 GB, free: 8.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.3563, allocations: 48.83 kB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.3565, allocations: 27.98 kB / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3565, allocations: 34.55 kB / 1.351 GB, free: 7.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 3.035e-06/0.3565, allocations: 3.984 kB / 1.351 GB, free: 7.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003529/0.3569, allocations: 181.2 kB / 1.351 GB, free: 7.766 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3569, allocations: 55.41 kB / 1.351 GB, free: 7.699 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.3574, allocations: 437.9 kB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3574, allocations: 29.7 kB / 1.351 GB, free: 7.234 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.3576, allocations: 216.4 kB / 1.351 GB, free: 7.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.3576, allocations: 43.59 kB / 1.352 GB, free: 6.977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.3577, allocations: 57.69 kB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3579, allocations: 350.7 kB / 1.352 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.358, allocations: 47.97 kB / 1.352 GB, free: 6.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.3582, allocations: 260.3 kB / 1.352 GB, free: 6.207 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3584, allocations: 135.3 kB / 1.352 GB, free: 6.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3584, allocations: 0 / 1.352 GB, free: 6.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003479/0.3587, allocations: 221.2 kB / 1.353 GB, free: 5.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3588, allocations: 11.98 kB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3588, allocations: 0 / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3588, allocations: 4 kB / 1.353 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.359, allocations: 43.92 kB / 1.353 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.359, allocations: 4 kB / 1.353 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3593, allocations: 31.77 kB / 1.353 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.3593, allocations: 11.98 kB / 1.353 GB, free: 5.734 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.0001508/0.3595, allocations: 153.8 kB / 1.353 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.3595, allocations: 35.77 kB / 1.353 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.3599, allocations: 202.6 kB / 1.353 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3599, allocations: 4 kB / 1.353 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3599, allocations: 3.938 kB / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3599, allocations: 0 / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.3606, allocations: 0.567 MB / 1.354 GB, free: 4.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3606, allocations: 4 kB / 1.354 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3608, allocations: 27.92 kB / 1.354 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3608, allocations: 0 / 1.354 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3608, allocations: 8.062 kB / 1.354 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3608, allocations: 12.06 kB / 1.354 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3608, allocations: 0 / 1.354 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3611, allocations: 306.5 kB / 1.354 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3612, allocations: 55.69 kB / 1.354 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.3613, allocations: 4 kB / 1.354 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3615, allocations: 15.92 kB / 1.354 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3615, allocations: 7.984 kB / 1.354 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3615, allocations: 4 kB / 1.354 GB, free: 4.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003525/0.3619, allocations: 315.1 kB / 1.354 GB, free: 3.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3619, allocations: 0 / 1.354 GB, free: 3.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003992/0.3623, allocations: 103.8 kB / 1.354 GB, free: 3.828 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.0008226/0.3631, allocations: 0.9286 MB / 1.355 GB, free: 2.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.3634, allocations: 133.6 kB / 1.355 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3634, allocations: 0 / 1.355 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.3635, allocations: 59.92 kB / 1.356 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009066/0.3644, allocations: 176.1 kB / 1.356 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.3684, allocations: 3.231 MB / 1.359 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3686, allocations: 207.6 kB / 1.359 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.3688, allocations: 70.97 kB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.369, allocations: 127.4 kB / 1.359 GB, free: 14.74 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.369, allocations: 0 / 1.359 GB, free: 14.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04287/0.4119, allocations: 12.44 MB / 1.371 GB, free: 2.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 11.25 kB / 1.371 GB, free: 2.637 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: 18.08898046799004]