Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001835/0.001835, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002666/0.002666, allocations: 215.3 kB / 22.25 MB, free: 5.113 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.023 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.81/2.81, allocations: 476.7 MB / 0.7707 GB, free: 4.293 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.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.002066/0.002066, allocations: 70.39 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2761/0.6012, allocations: 174.5 MB / 1.454 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008724/0.61, allocations: 3.398 MB / 1.457 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008336/0.6108, allocations: 27.75 kB / 1.457 GB, free: 9.176 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.6121, allocations: 334 kB / 1.457 GB, free: 8.848 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.6153, allocations: 1.074 MB / 1.458 GB, free: 7.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.6172, allocations: 0.7001 MB / 1.459 GB, free: 7.074 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.6193, allocations: 1.574 MB / 1.461 GB, free: 5.5 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006247/0.62, allocations: 381.8 kB / 1.461 GB, free: 5.125 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009676/0.6209, allocations: 0.5916 MB / 1.462 GB, free: 4.531 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.6221, allocations: 0.4939 MB / 1.462 GB, free: 4.039 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-05/0.6222, allocations: 52 kB / 1.462 GB, free: 3.988 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.6239, allocations: 0.9041 MB / 1.463 GB, free: 3.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.6242, allocations: 255.2 kB / 1.463 GB, free: 2.832 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.6246, allocations: 338.5 kB / 1.464 GB, free: 2.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.6263, allocations: 1.137 MB / 1.465 GB, free: 1.359 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6263, allocations: 0 / 1.465 GB, free: 1.359 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6263, allocations: 0 / 1.465 GB, free: 1.359 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6263, allocations: 0 / 1.465 GB, free: 1.359 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001533/0.6278, allocations: 0.8548 MB / 1.466 GB, free: 480 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6279, allocations: 12.03 kB / 1.466 GB, free: 468 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.628, allocations: 86.52 kB / 1.466 GB, free: 372 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6292, allocations: 175.5 kB / 1.466 GB, free: 196 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00089/0.6301, allocations: 478.4 kB / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.6301, allocations: 33 kB / 1.466 GB, free: 15.67 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.6302, allocations: 44 kB / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.631, allocations: 474.3 kB / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.631, allocations: 0 / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.6311, allocations: 16 kB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.6311, allocations: 21 kB / 1.467 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.6318, allocations: 411.7 kB / 1.467 GB, free: 14.72 MB / 1.17 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.002682/0.6345, allocations: 1.692 MB / 1.469 GB, free: 12.9 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.635, allocations: 282.6 kB / 1.469 GB, free: 12.61 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.6353, allocations: 168.8 kB / 1.469 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.6355, allocations: 27.92 kB / 1.469 GB, free: 12.42 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.6355, allocations: 42.48 kB / 1.469 GB, free: 12.37 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.6355, allocations: 3.938 kB / 1.469 GB, free: 12.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.002048/0.6376, allocations: 0.9927 MB / 1.47 GB, free: 11.34 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6376, allocations: 59.41 kB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.6382, allocations: 453.8 kB / 1.471 GB, free: 10.82 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.6382, allocations: 41.69 kB / 1.471 GB, free: 10.77 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.6384, allocations: 244.5 kB / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6385, allocations: 119 kB / 1.471 GB, free: 10.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.6387, allocations: 69.66 kB / 1.471 GB, free: 10.34 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6388, allocations: 358.8 kB / 1.472 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.6391, allocations: 131.9 kB / 1.472 GB, free: 9.848 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.6394, allocations: 197.7 kB / 1.472 GB, free: 9.633 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.6414, allocations: 0.7862 MB / 1.473 GB, free: 8.828 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6414, allocations: 0 / 1.473 GB, free: 8.828 MB / 1.17 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000693/0.6421, allocations: 420.8 kB / 1.473 GB, free: 8.41 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6421, allocations: 6.656 kB / 1.473 GB, free: 8.406 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6421, allocations: 4.188 kB / 1.473 GB, free: 8.402 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6421, allocations: 11.94 kB / 1.473 GB, free: 8.391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.6424, allocations: 71.91 kB / 1.473 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6424, allocations: 4 kB / 1.473 GB, free: 8.316 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.6428, allocations: 8 kB / 1.473 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.6428, allocations: 12 kB / 1.473 GB, free: 8.297 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002877/0.6431, allocations: 221.6 kB / 1.473 GB, free: 8.07 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.6432, allocations: 47.72 kB / 1.473 GB, free: 8.023 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.6433, allocations: 60.77 kB / 1.474 GB, free: 7.965 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6434, allocations: 4 kB / 1.474 GB, free: 7.961 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6434, allocations: 0 / 1.474 GB, free: 7.961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005584/0.6439, allocations: 412.8 kB / 1.474 GB, free: 7.527 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.646, allocations: 1.217 MB / 1.475 GB, free: 6.211 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.646, allocations: 8.031 kB / 1.475 GB, free: 6.203 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.6464, allocations: 67.91 kB / 1.475 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.6464, allocations: 4 kB / 1.475 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.6464, allocations: 12 kB / 1.475 GB, free: 6.121 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.6464, allocations: 7.938 kB / 1.475 GB, free: 6.113 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6464, allocations: 4 kB / 1.475 GB, free: 6.109 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6475, allocations: 0.7118 MB / 1.476 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.6477, allocations: 99.61 kB / 1.476 GB, free: 5.234 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.6478, allocations: 8 kB / 1.476 GB, free: 5.227 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.6482, allocations: 26.3 kB / 1.476 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.6483, allocations: 35.75 kB / 1.476 GB, free: 5.168 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.6483, allocations: 23.98 kB / 1.476 GB, free: 5.145 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003898/0.6487, allocations: 327.1 kB / 1.476 GB, free: 4.824 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6487, allocations: 3.938 kB / 1.476 GB, free: 4.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005419/0.6492, allocations: 143.9 kB / 1.477 GB, free: 4.68 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001467/0.6507, allocations: 1.299 MB / 1.478 GB, free: 3.301 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005907/0.6513, allocations: 307.6 kB / 1.478 GB, free: 3 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6513, allocations: 8 kB / 1.478 GB, free: 2.992 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.6515, allocations: 144.7 kB / 1.478 GB, free: 2.852 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6532, allocations: 379.3 kB / 1.479 GB, free: 2.496 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/0.6594, allocations: 4.422 MB / 1.483 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.66, allocations: 0.8862 MB / 1.484 GB, free: 12.94 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005151/0.6605, allocations: 132.7 kB / 1.484 GB, free: 12.81 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6608, allocations: 167.4 kB / 1.484 GB, free: 12.65 MB / 1.186 GB Notification: Performance of SimCode: time 9.82e-07/0.6608, allocations: 0 / 1.484 GB, free: 12.65 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/0.7157, allocations: 15.89 MB / 1.5 GB, free: 13.07 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.05, allocations: 5.656 kB / 1.5 GB, free: 13.07 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.755245352862403]