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.001898/0.001898, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002276/0.002276, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.965 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.644/2.644, allocations: 476.8 MB / 0.7707 GB, free: 4.27 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.002077/0.002077, allocations: 65.98 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.316, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02246/0.3385, allocations: 15.76 MB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007603/0.3461, allocations: 4.711 MB / 1.303 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000697/0.3468, allocations: 19.81 kB / 1.303 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.3475, allocations: 210.5 kB / 1.304 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.3491, allocations: 0.6048 MB / 1.304 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3508, allocations: 0.5862 MB / 1.305 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.3523, allocations: 0.9742 MB / 1.306 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.3527, allocations: 264.3 kB / 1.306 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.3536, allocations: 434.3 kB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.3541, allocations: 322.5 kB / 1.307 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.3541, allocations: 24 kB / 1.307 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.3547, allocations: 231.6 kB / 1.307 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3548, allocations: 87.56 kB / 1.307 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.355, allocations: 206.8 kB / 1.307 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.3559, allocations: 0.5097 MB / 1.308 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3559, allocations: 0 / 1.308 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3559, allocations: 0 / 1.308 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3559, allocations: 0 / 1.308 GB, free: 2.695 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.001257/0.3571, allocations: 0.6795 MB / 1.308 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3572, allocations: 12.03 kB / 1.308 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.3572, allocations: 50.73 kB / 1.308 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3573, allocations: 52.61 kB / 1.308 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.3581, allocations: 347.2 kB / 1.309 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3581, allocations: 20.38 kB / 1.309 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.3581, allocations: 24 kB / 1.309 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.3585, allocations: 191.3 kB / 1.309 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3585, allocations: 4 kB / 1.309 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3585, allocations: 4 kB / 1.309 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3585, allocations: 4 kB / 1.309 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.3588, allocations: 137.6 kB / 1.309 GB, free: 1.121 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.001606/0.3604, allocations: 0.8562 MB / 1.31 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3608, allocations: 106.6 kB / 1.31 GB, free: 84 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.3609, allocations: 48.83 kB / 1.31 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.3611, allocations: 27.98 kB / 1.31 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.3611, allocations: 38.56 kB / 1.31 GB, free: 15.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.3611, allocations: 0 / 1.31 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003965/0.3615, allocations: 177.6 kB / 1.31 GB, free: 15.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3615, allocations: 59.34 kB / 1.31 GB, free: 15.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.3621, allocations: 457.9 kB / 1.311 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3621, allocations: 29.7 kB / 1.311 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3623, allocations: 212.4 kB / 1.311 GB, free: 15.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.3624, allocations: 51.58 kB / 1.311 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.3624, allocations: 57.69 kB / 1.311 GB, free: 14.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3626, allocations: 350.7 kB / 1.312 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3627, allocations: 51.97 kB / 1.312 GB, free: 14.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3629, allocations: 111.1 kB / 1.312 GB, free: 14.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3631, allocations: 135.3 kB / 1.312 GB, free: 14.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3631, allocations: 0 / 1.312 GB, free: 14.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003791/0.3635, allocations: 221.2 kB / 1.312 GB, free: 14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3635, allocations: 6.188 kB / 1.312 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3635, allocations: 3.984 kB / 1.312 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3635, allocations: 4 kB / 1.312 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.3638, allocations: 43.92 kB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3638, allocations: 0 / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3641, allocations: 39.89 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3641, allocations: 11.98 kB / 1.312 GB, free: 13.89 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.0001659/0.3643, allocations: 158.2 kB / 1.312 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.3644, allocations: 39.72 kB / 1.312 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.3647, allocations: 193.2 kB / 1.313 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.3647, allocations: 7.984 kB / 1.313 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3648, allocations: 0 / 1.313 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.3648, allocations: 7.984 kB / 1.313 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.3656, allocations: 0.5981 MB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3656, allocations: 4 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3657, allocations: 27.92 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3657, allocations: 288 / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3658, allocations: 8 kB / 1.313 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3658, allocations: 8.062 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3658, allocations: 7.938 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3661, allocations: 299.3 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3662, allocations: 55.67 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.3663, allocations: 4 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.3665, allocations: 19.92 kB / 1.314 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.3665, allocations: 11.97 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3665, allocations: 4 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004205/0.367, allocations: 327.1 kB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.367, allocations: 0 / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004421/0.3674, allocations: 99.83 kB / 1.314 GB, free: 11.94 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.0009/0.3683, allocations: 0.9417 MB / 1.315 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.3686, allocations: 127.8 kB / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3686, allocations: 0 / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3687, allocations: 63.84 kB / 1.315 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.3697, allocations: 184.2 kB / 1.315 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.3746, allocations: 3.274 MB / 1.318 GB, free: 7.191 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.3751, allocations: 0.8112 MB / 1.319 GB, free: 6.355 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002813/0.3753, allocations: 66.5 kB / 1.319 GB, free: 6.289 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3755, allocations: 123.4 kB / 1.319 GB, free: 6.168 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/0.3755, allocations: 4 kB / 1.319 GB, free: 6.164 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/0.4194, allocations: 11.33 MB / 1.33 GB, free: 11.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.45, allocations: 3.984 kB / 1.33 GB, free: 11.11 MB / 1.029 GB " [Timeout remaining time 288] (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.06778578400008]