Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001419/0.001419, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001512/0.001512, allocations: 214.4 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.888/2.888, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.002086/0.002086, allocations: 62.14 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2429/0.5961, allocations: 194.4 MB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.6069, allocations: 5.753 MB / 1.48 GB, free: 2.797 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.6083, allocations: 59.5 kB / 1.48 GB, free: 2.738 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.6102, allocations: 0.5903 MB / 1.48 GB, free: 2.145 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.615, allocations: 1.711 MB / 1.482 GB, free: 436 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.6187, allocations: 1.261 MB / 1.483 GB, free: 15.17 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004395/0.6231, allocations: 2.619 MB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.6246, allocations: 0.7513 MB / 1.486 GB, free: 11.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.6271, allocations: 1.105 MB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.6295, allocations: 0.9162 MB / 1.488 GB, free: 9.758 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.6298, allocations: 108 kB / 1.489 GB, free: 9.652 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.6334, allocations: 1.656 MB / 1.49 GB, free: 7.992 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.6341, allocations: 0.5103 MB / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009732/0.6351, allocations: 0.6416 MB / 1.491 GB, free: 6.836 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.6394, allocations: 2.188 MB / 1.493 GB, free: 4.641 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6394, allocations: 0 / 1.493 GB, free: 4.641 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6394, allocations: 0 / 1.493 GB, free: 4.641 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.2e-05/0.6394, allocations: 0 / 1.493 GB, free: 4.641 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003206/0.6426, allocations: 1.485 MB / 1.495 GB, free: 3.117 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6427, allocations: 8.031 kB / 1.495 GB, free: 3.109 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.171e-05/0.6427, allocations: 26 kB / 1.495 GB, free: 3.086 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.6429, allocations: 143.3 kB / 1.495 GB, free: 2.938 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.6461, allocations: 478.7 kB / 1.496 GB, free: 2.469 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.6481, allocations: 0.7838 MB / 1.496 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.6482, allocations: 66 kB / 1.496 GB, free: 1.59 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6484, allocations: 91.92 kB / 1.496 GB, free: 1.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.651, allocations: 1.171 MB / 1.498 GB, free: 316 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.651, allocations: 3.938 kB / 1.498 GB, free: 312 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.6511, allocations: 36 kB / 1.498 GB, free: 276 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-05/0.6512, allocations: 37.98 kB / 1.498 GB, free: 236 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.6538, allocations: 1.066 MB / 1.499 GB, free: 15.16 MB / 1.201 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.008215/0.662, allocations: 4.262 MB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.6642, allocations: 0.7209 MB / 1.504 GB, free: 9.914 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.6653, allocations: 400.5 kB / 1.504 GB, free: 9.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.6654, allocations: 24.69 kB / 1.504 GB, free: 9.496 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.6655, allocations: 46.56 kB / 1.504 GB, free: 9.441 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.6655, allocations: 0 / 1.504 GB, free: 9.441 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.006583/0.6721, allocations: 2.121 MB / 1.506 GB, free: 7.289 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.6721, allocations: 55.41 kB / 1.506 GB, free: 7.223 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.6734, allocations: 0.8686 MB / 1.507 GB, free: 6.348 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.6735, allocations: 37.7 kB / 1.507 GB, free: 6.305 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.674, allocations: 0.4885 MB / 1.507 GB, free: 5.812 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.6742, allocations: 174.5 kB / 1.508 GB, free: 5.641 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.6744, allocations: 122.3 kB / 1.508 GB, free: 5.516 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6746, allocations: 326 kB / 1.508 GB, free: 5.191 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.6756, allocations: 377 kB / 1.508 GB, free: 4.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.6768, allocations: 0.4974 MB / 1.509 GB, free: 4.27 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006656/0.6834, allocations: 2.185 MB / 1.511 GB, free: 2.035 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6834, allocations: 4 kB / 1.511 GB, free: 2.031 MB / 1.201 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002591/0.686, allocations: 0.9889 MB / 1.512 GB, free: 1.035 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.686, allocations: 4 kB / 1.512 GB, free: 1.031 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6861, allocations: 7.938 kB / 1.512 GB, free: 1.023 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.6861, allocations: 11.94 kB / 1.512 GB, free: 1.012 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6872, allocations: 191.8 kB / 1.512 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.6872, allocations: 7.938 kB / 1.512 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6883, allocations: 67.94 kB / 1.512 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.6883, allocations: 27.98 kB / 1.512 GB, free: 0.7227 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * 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.0006106/0.6889, allocations: 309.5 kB / 1.513 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.6892, allocations: 99.39 kB / 1.513 GB, free: 320 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.6894, allocations: 108.7 kB / 1.513 GB, free: 204 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6894, allocations: 8 kB / 1.513 GB, free: 196 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6894, allocations: 0 / 1.513 GB, free: 196 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002246/0.6917, allocations: 1.022 MB / 1.514 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/0.6969, allocations: 2.109 MB / 1.516 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6969, allocations: 4 kB / 1.516 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/0.6978, allocations: 172.1 kB / 1.516 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.6978, allocations: 4 kB / 1.516 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.6978, allocations: 16 kB / 1.516 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.6978, allocations: 11.92 kB / 1.516 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6978, allocations: 4 kB / 1.516 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.7013, allocations: 1.423 MB / 1.517 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.7018, allocations: 179.4 kB / 1.518 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.702, allocations: 16 kB / 1.518 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.703, allocations: 80.67 kB / 1.518 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.7031, allocations: 35.94 kB / 1.518 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/0.7031, allocations: 23.98 kB / 1.518 GB, free: 10.86 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009139/0.7041, allocations: 0.6044 MB / 1.518 GB, free: 10.27 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7041, allocations: 0 / 1.518 GB, free: 10.27 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009408/0.705, allocations: 271.9 kB / 1.519 GB, free: 10 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.004068/0.7091, allocations: 2.062 MB / 1.521 GB, free: 7.871 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.7113, allocations: 0.7879 MB / 1.521 GB, free: 7.086 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7113, allocations: 0 / 1.521 GB, free: 7.086 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.7124, allocations: 385 kB / 1.522 GB, free: 6.711 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.7153, allocations: 0.5812 MB / 1.522 GB, free: 6.141 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.7329, allocations: 8.226 MB / 1.53 GB, free: 13.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009291/0.7339, allocations: 1.11 MB / 1.531 GB, free: 12.46 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001161/0.735, allocations: 255.8 kB / 1.532 GB, free: 12.2 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/0.7357, allocations: 355.3 kB / 1.532 GB, free: 11.86 MB / 1.232 GB Notification: Performance of SimCode: time 1.683e-06/0.7357, allocations: 0 / 1.532 GB, free: 11.86 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.072/0.8077, allocations: 29.44 MB / 1.561 GB, free: 14.91 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.52, allocations: 3.938 kB / 1.561 GB, free: 14.91 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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: 21.43428566196235]