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.001179/0.001179, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001245/0.001245, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.951/2.951, allocations: 0.5003 GB / 0.8062 GB, free: 26.79 MB / 0.6231 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.001808/0.001808, allocations: 68.81 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3011, allocations: 179 MB / 1.345 GB, free: 420 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2072/0.5083, allocations: 194.5 MB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009348/0.5177, allocations: 5.764 MB / 1.541 GB, free: 7.406 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.5189, allocations: 55.56 kB / 1.541 GB, free: 7.352 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.5203, allocations: 0.5942 MB / 1.542 GB, free: 6.754 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.5242, allocations: 1.709 MB / 1.543 GB, free: 5.039 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.5272, allocations: 1.261 MB / 1.544 GB, free: 3.785 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.5307, allocations: 2.623 MB / 1.547 GB, free: 1.152 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.5319, allocations: 0.7513 MB / 1.548 GB, free: 392 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.5343, allocations: 1.273 MB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.5361, allocations: 0.9022 MB / 1.55 GB, free: 14.2 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.5363, allocations: 108 kB / 1.55 GB, free: 14.1 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.5398, allocations: 1.641 MB / 1.552 GB, free: 12.45 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006016/0.5404, allocations: 0.5064 MB / 1.552 GB, free: 11.95 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/0.5412, allocations: 0.6417 MB / 1.553 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.5444, allocations: 2.192 MB / 1.555 GB, free: 9.102 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5444, allocations: 4 kB / 1.555 GB, free: 9.098 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5444, allocations: 0 / 1.555 GB, free: 9.098 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.5444, allocations: 0 / 1.555 GB, free: 9.098 MB / 1.248 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.002491/0.5469, allocations: 1.481 MB / 1.556 GB, free: 7.582 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5469, allocations: 8.031 kB / 1.556 GB, free: 7.574 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.354e-05/0.547, allocations: 25.98 kB / 1.556 GB, free: 7.547 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.5471, allocations: 139.3 kB / 1.556 GB, free: 7.402 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.5499, allocations: 478.8 kB / 1.557 GB, free: 6.934 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.5515, allocations: 0.7915 MB / 1.558 GB, free: 6.113 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.5516, allocations: 69.98 kB / 1.558 GB, free: 6.047 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.5517, allocations: 87.94 kB / 1.558 GB, free: 5.961 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.5539, allocations: 1.175 MB / 1.559 GB, free: 4.762 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.5539, allocations: 3.953 kB / 1.559 GB, free: 4.758 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.554, allocations: 36 kB / 1.559 GB, free: 4.723 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.554, allocations: 34 kB / 1.559 GB, free: 4.691 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.5564, allocations: 1.066 MB / 1.56 GB, free: 3.625 MB / 1.248 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.007175/0.5636, allocations: 4.421 MB / 1.564 GB, free: 14.91 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.5655, allocations: 0.7221 MB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009298/0.5664, allocations: 380.6 kB / 1.565 GB, free: 13.81 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.5666, allocations: 27.95 kB / 1.566 GB, free: 13.78 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5666, allocations: 42.56 kB / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.5666, allocations: 0 / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=45): time 0.00574/0.5724, allocations: 2.12 MB / 1.568 GB, free: 11.58 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5724, allocations: 55.41 kB / 1.568 GB, free: 11.51 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.5735, allocations: 0.8724 MB / 1.569 GB, free: 10.63 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.5736, allocations: 41.64 kB / 1.569 GB, free: 10.58 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.5739, allocations: 0.4924 MB / 1.569 GB, free: 10.08 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.5741, allocations: 166.6 kB / 1.569 GB, free: 9.918 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.5743, allocations: 122.2 kB / 1.569 GB, free: 9.793 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5745, allocations: 334 kB / 1.57 GB, free: 9.461 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/0.5754, allocations: 365 kB / 1.57 GB, free: 9.102 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5765, allocations: 0.4935 MB / 1.57 GB, free: 8.559 MB / 1.264 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.006019/0.5825, allocations: 2.193 MB / 1.573 GB, free: 6.309 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5825, allocations: 0 / 1.573 GB, free: 6.309 MB / 1.264 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002327/0.5848, allocations: 0.9888 MB / 1.574 GB, free: 5.316 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5848, allocations: 8 kB / 1.574 GB, free: 5.309 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5848, allocations: 4 kB / 1.574 GB, free: 5.305 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5849, allocations: 7.938 kB / 1.574 GB, free: 5.297 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/0.5858, allocations: 191.8 kB / 1.574 GB, free: 5.109 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5858, allocations: 8 kB / 1.574 GB, free: 5.102 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/0.5867, allocations: 63.92 kB / 1.574 GB, free: 5.039 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.5867, allocations: 24 kB / 1.574 GB, free: 5.016 MB / 1.264 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.0004742/0.5872, allocations: 333.4 kB / 1.574 GB, free: 4.68 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.5874, allocations: 99.39 kB / 1.574 GB, free: 4.582 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.5876, allocations: 104.7 kB / 1.574 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.5876, allocations: 4 kB / 1.574 GB, free: 4.477 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5876, allocations: 0 / 1.574 GB, free: 4.477 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001987/0.5896, allocations: 1.03 MB / 1.575 GB, free: 3.359 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.5941, allocations: 2.108 MB / 1.577 GB, free: 1.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5941, allocations: 0 / 1.577 GB, free: 1.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008394/0.5949, allocations: 164.2 kB / 1.578 GB, free: 1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.5949, allocations: 4 kB / 1.578 GB, free: 0.9961 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.595, allocations: 23.98 kB / 1.578 GB, free: 0.9727 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.595, allocations: 11.88 kB / 1.578 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.595, allocations: 4 kB / 1.578 GB, free: 0.957 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.598, allocations: 1.415 MB / 1.579 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.5985, allocations: 187.2 kB / 1.579 GB, free: 15.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.5986, allocations: 15.98 kB / 1.579 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/0.5995, allocations: 75.81 kB / 1.579 GB, free: 15.21 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.5995, allocations: 35.88 kB / 1.579 GB, free: 15.17 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.5996, allocations: 35.92 kB / 1.579 GB, free: 15.14 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007579/0.6004, allocations: 0.6005 MB / 1.58 GB, free: 14.54 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6004, allocations: 0 / 1.58 GB, free: 14.54 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008035/0.6012, allocations: 275.9 kB / 1.58 GB, free: 14.27 MB / 1.279 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.003589/0.6048, allocations: 2.052 MB / 1.582 GB, free: 12.15 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.6068, allocations: 0.7911 MB / 1.583 GB, free: 11.35 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6068, allocations: 0 / 1.583 GB, free: 11.35 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.6077, allocations: 389.3 kB / 1.583 GB, free: 10.97 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.6102, allocations: 0.5875 MB / 1.584 GB, free: 10.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.6243, allocations: 8.213 MB / 1.592 GB, free: 1.875 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.6251, allocations: 1.11 MB / 1.593 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008129/0.6259, allocations: 267.7 kB / 1.593 GB, free: 484 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.6264, allocations: 355.3 kB / 1.594 GB, free: 128 kB / 1.279 GB Notification: Performance of SimCode: time 6.92e-07/0.6264, allocations: 4 kB / 1.594 GB, free: 124 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6097/1.236, allocations: 29.41 MB / 1.622 GB, free: 256.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.96, allocations: 5.844 kB / 1.622 GB, free: 256.9 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.154671486990992]