Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001149/0.001149, allocations: 116.1 kB / 17.17 MB, free: 6 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.001257/0.001257, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.375/1.375, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.797/2.797, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001875/0.001875, allocations: 67.89 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8599, allocations: 178.9 MB / 1.34 GB, free: 16.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.232/1.092, allocations: 194.2 MB / 1.53 GB, free: 5.977 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00999/1.102, allocations: 5.748 MB / 1.535 GB, free: 228 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/1.103, allocations: 55.5 kB / 1.535 GB, free: 172 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/1.105, allocations: 0.5981 MB / 1.536 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004209/1.109, allocations: 1.668 MB / 1.538 GB, free: 13.89 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/1.112, allocations: 1.231 MB / 1.539 GB, free: 12.67 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003458/1.116, allocations: 2.559 MB / 1.541 GB, free: 10.1 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/1.117, allocations: 0.8639 MB / 1.542 GB, free: 9.219 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/1.12, allocations: 1.265 MB / 1.543 GB, free: 7.949 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/1.122, allocations: 0.9065 MB / 1.544 GB, free: 7.047 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002857/1.122, allocations: 108 kB / 1.544 GB, free: 6.941 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/1.125, allocations: 1.617 MB / 1.546 GB, free: 5.32 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006719/1.126, allocations: 0.5025 MB / 1.546 GB, free: 4.816 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.127, allocations: 0.6416 MB / 1.547 GB, free: 4.172 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/1.131, allocations: 2.188 MB / 1.549 GB, free: 1.977 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.131, allocations: 0 / 1.549 GB, free: 1.977 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.212e-06/1.131, allocations: 0 / 1.549 GB, free: 1.977 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.932e-05/1.131, allocations: 0 / 1.549 GB, free: 1.977 MB / 1.217 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.003142/1.134, allocations: 1.56 MB / 1.551 GB, free: 372 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.134, allocations: 8.031 kB / 1.551 GB, free: 364 kB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.274e-05/1.134, allocations: 22 kB / 1.551 GB, free: 340 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/1.134, allocations: 143.3 kB / 1.551 GB, free: 188 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/1.137, allocations: 474.8 kB / 1.551 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.139, allocations: 0.8598 MB / 1.552 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/1.139, allocations: 73.94 kB / 1.552 GB, free: 14.75 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/1.139, allocations: 91.92 kB / 1.552 GB, free: 14.66 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.142, allocations: 1.167 MB / 1.554 GB, free: 13.46 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.142, allocations: 3.953 kB / 1.554 GB, free: 13.46 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.142, allocations: 40 kB / 1.554 GB, free: 13.42 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/1.142, allocations: 33.98 kB / 1.554 GB, free: 13.39 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/1.144, allocations: 1.073 MB / 1.555 GB, free: 12.32 MB / 1.232 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.007486/1.152, allocations: 4.472 MB / 1.559 GB, free: 7.551 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/1.154, allocations: 0.7248 MB / 1.56 GB, free: 6.816 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009514/1.155, allocations: 380.6 kB / 1.56 GB, free: 6.441 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.155, allocations: 101.1 kB / 1.56 GB, free: 6.324 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/1.155, allocations: 51.22 kB / 1.56 GB, free: 6.266 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/1.155, allocations: 0 / 1.56 GB, free: 6.266 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.006007/1.161, allocations: 2.195 MB / 1.562 GB, free: 4.02 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.161, allocations: 55.41 kB / 1.562 GB, free: 3.953 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.162, allocations: 0.8764 MB / 1.563 GB, free: 3.066 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/1.162, allocations: 33.7 kB / 1.563 GB, free: 3.027 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/1.163, allocations: 0.4884 MB / 1.564 GB, free: 2.531 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.163, allocations: 174.6 kB / 1.564 GB, free: 2.359 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.163, allocations: 118.2 kB / 1.564 GB, free: 2.238 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.163, allocations: 330 kB / 1.564 GB, free: 1.91 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/1.164, allocations: 377 kB / 1.565 GB, free: 1.543 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.165, allocations: 0.4974 MB / 1.565 GB, free: 0.9922 MB / 1.232 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.006322/1.172, allocations: 2.258 MB / 1.567 GB, free: 14.67 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.172, allocations: 4 kB / 1.567 GB, free: 14.66 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00242/1.174, allocations: 0.9903 MB / 1.568 GB, free: 13.66 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.174, allocations: 8 kB / 1.568 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.174, allocations: 4 kB / 1.568 GB, free: 13.65 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.174, allocations: 7.938 kB / 1.568 GB, free: 13.64 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/1.175, allocations: 191.8 kB / 1.569 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/1.175, allocations: 11.94 kB / 1.569 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/1.176, allocations: 59.94 kB / 1.569 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/1.176, allocations: 35.98 kB / 1.569 GB, free: 13.35 MB / 1.248 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.0004799/1.177, allocations: 314.9 kB / 1.569 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.177, allocations: 103.3 kB / 1.569 GB, free: 12.93 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/1.177, allocations: 104.7 kB / 1.569 GB, free: 12.83 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.177, allocations: 8 kB / 1.569 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.177, allocations: 0 / 1.569 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002088/1.179, allocations: 1.022 MB / 1.57 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/1.184, allocations: 2.137 MB / 1.572 GB, free: 9.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.184, allocations: 4 kB / 1.572 GB, free: 9.477 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/1.184, allocations: 164.1 kB / 1.572 GB, free: 9.316 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.185, allocations: 4 kB / 1.572 GB, free: 9.312 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/1.185, allocations: 23.98 kB / 1.572 GB, free: 9.289 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/1.185, allocations: 11.94 kB / 1.573 GB, free: 9.277 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.185, allocations: 4 kB / 1.573 GB, free: 9.273 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/1.188, allocations: 1.411 MB / 1.574 GB, free: 7.801 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/1.188, allocations: 260.4 kB / 1.574 GB, free: 7.527 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.188, allocations: 16 kB / 1.574 GB, free: 7.512 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009081/1.189, allocations: 73.61 kB / 1.574 GB, free: 7.441 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/1.189, allocations: 35.89 kB / 1.574 GB, free: 7.406 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/1.189, allocations: 31.98 kB / 1.574 GB, free: 7.375 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007621/1.19, allocations: 0.6005 MB / 1.575 GB, free: 6.777 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.19, allocations: 3.938 kB / 1.575 GB, free: 6.773 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008143/1.191, allocations: 275.9 kB / 1.575 GB, free: 6.504 MB / 1.248 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.003707/1.195, allocations: 2.069 MB / 1.577 GB, free: 4.363 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002101/1.197, allocations: 0.7837 MB / 1.578 GB, free: 3.582 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.197, allocations: 0 / 1.578 GB, free: 3.582 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/1.198, allocations: 385 kB / 1.578 GB, free: 3.207 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.2, allocations: 0.5867 MB / 1.579 GB, free: 2.633 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.215, allocations: 8.219 MB / 1.587 GB, free: 10.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/1.215, allocations: 1.114 MB / 1.588 GB, free: 8.957 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008542/1.216, allocations: 259.8 kB / 1.588 GB, free: 8.699 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/1.217, allocations: 355.3 kB / 1.589 GB, free: 8.352 MB / 1.264 GB Notification: Performance of SimCode: time 6.72e-07/1.217, allocations: 4 kB / 1.589 GB, free: 8.348 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/1.276, allocations: 28.93 MB / 1.617 GB, free: 11.89 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.392/10.67, allocations: 10.61 kB / 1.617 GB, free: 11.89 MB / 1.295 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.728892488987185]