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.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.001771/0.001771, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002273/0.002273, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.648/2.648, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002035/0.002035, allocations: 66.55 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01938/0.3373, allocations: 14.37 MB / 1.297 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007205/0.3445, allocations: 4.318 MB / 1.301 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006749/0.3452, allocations: 23.75 kB / 1.301 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007584/0.346, allocations: 186.6 kB / 1.301 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3479, allocations: 0.6025 MB / 1.302 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3497, allocations: 0.5796 MB / 1.302 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3512, allocations: 0.9702 MB / 1.303 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.3516, allocations: 260.3 kB / 1.303 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.3524, allocations: 442.3 kB / 1.304 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.3528, allocations: 302.6 kB / 1.304 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.3529, allocations: 24 kB / 1.304 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.3533, allocations: 191.6 kB / 1.304 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3534, allocations: 83.55 kB / 1.304 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3536, allocations: 171.1 kB / 1.305 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.3543, allocations: 0.507 MB / 1.305 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3543, allocations: 0 / 1.305 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3543, allocations: 0 / 1.305 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.3543, allocations: 4 kB / 1.305 GB, free: 5.379 MB / 0.9981 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.00114/0.3554, allocations: 0.6678 MB / 1.306 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3555, allocations: 8.031 kB / 1.306 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.3555, allocations: 54.73 kB / 1.306 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.3556, allocations: 56.59 kB / 1.306 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.3563, allocations: 335.2 kB / 1.306 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.3563, allocations: 24.38 kB / 1.306 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.3564, allocations: 24 kB / 1.306 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.3567, allocations: 195.3 kB / 1.306 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3567, allocations: 0 / 1.306 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3567, allocations: 12 kB / 1.306 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3567, allocations: 4 kB / 1.306 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.357, allocations: 129.7 kB / 1.306 GB, free: 3.816 MB / 0.9981 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.001402/0.3584, allocations: 0.6935 MB / 1.307 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.3588, allocations: 106.6 kB / 1.307 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.3589, allocations: 48.83 kB / 1.307 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3591, allocations: 31.92 kB / 1.307 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3591, allocations: 38.56 kB / 1.307 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3591, allocations: 0 / 1.307 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003658/0.3595, allocations: 177.3 kB / 1.308 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3595, allocations: 51.41 kB / 1.308 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.36, allocations: 453.8 kB / 1.308 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.3601, allocations: 33.7 kB / 1.308 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3602, allocations: 208.5 kB / 1.308 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.3603, allocations: 47.52 kB / 1.308 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.3604, allocations: 53.7 kB / 1.308 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3605, allocations: 350.7 kB / 1.309 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.3606, allocations: 59.91 kB / 1.309 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3609, allocations: 266 kB / 1.309 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.3611, allocations: 135.3 kB / 1.309 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3611, allocations: 0 / 1.309 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000355/0.3614, allocations: 229.2 kB / 1.309 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3614, allocations: 4 kB / 1.309 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3614, allocations: 0 / 1.309 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3615, allocations: 4.188 kB / 1.309 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3617, allocations: 35.98 kB / 1.309 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3617, allocations: 7.938 kB / 1.309 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.3619, allocations: 43.75 kB / 1.309 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.362, allocations: 12 kB / 1.309 GB, free: 0.5898 MB / 0.9981 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.0001523/0.3621, allocations: 149.7 kB / 1.31 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.3622, allocations: 47.72 kB / 1.31 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.3625, allocations: 197.8 kB / 1.31 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3625, allocations: 0 / 1.31 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3625, allocations: 0 / 1.31 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.3625, allocations: 7.984 kB / 1.31 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.3633, allocations: 0.5748 MB / 1.31 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3633, allocations: 4 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3634, allocations: 27.88 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3634, allocations: 0 / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3635, allocations: 11.98 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3635, allocations: 3.938 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3635, allocations: 0 / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3638, allocations: 294.7 kB / 1.311 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3639, allocations: 63.67 kB / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.3639, allocations: 7.984 kB / 1.311 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3642, allocations: 11.94 kB / 1.311 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3642, allocations: 11.97 kB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3642, allocations: 4 kB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003673/0.3646, allocations: 319.1 kB / 1.311 GB, free: 14.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3646, allocations: 0 / 1.311 GB, free: 14.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004018/0.365, allocations: 107.8 kB / 1.311 GB, free: 14.67 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.0008002/0.3658, allocations: 0.9263 MB / 1.312 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.366, allocations: 127.8 kB / 1.312 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.366, allocations: 0 / 1.312 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.3661, allocations: 59.91 kB / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009225/0.367, allocations: 189.5 kB / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.3714, allocations: 3.252 MB / 1.316 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.3716, allocations: 207.7 kB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.3718, allocations: 71.03 kB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.372, allocations: 131.4 kB / 1.316 GB, free: 9.547 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.372, allocations: 0 / 1.316 GB, free: 9.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.4154, allocations: 12.47 MB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 11.06 kB / 1.328 GB, free: 13.44 MB / 1.029 GB " [Timeout remaining time 287] (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: 18.960132945794612]