Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001441/0.001441, allocations: 113 kB / 18.94 MB, free: 2.934 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.001707/0.001707, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 8.031 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.937/2.937, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001844/0.001844, allocations: 68.12 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2067/0.5003, allocations: 194.6 MB / 1.543 GB, free: 5.102 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009594/0.5099, allocations: 5.786 MB / 1.549 GB, free: 15.3 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.5112, allocations: 55.5 kB / 1.549 GB, free: 15.25 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.5128, allocations: 0.6098 MB / 1.549 GB, free: 14.64 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.5169, allocations: 1.718 MB / 1.551 GB, free: 12.91 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.52, allocations: 1.26 MB / 1.552 GB, free: 11.66 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003717/0.5237, allocations: 2.626 MB / 1.555 GB, free: 9.027 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5247, allocations: 0.6838 MB / 1.555 GB, free: 8.332 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.527, allocations: 1.277 MB / 1.557 GB, free: 7.051 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.5288, allocations: 0.8604 MB / 1.557 GB, free: 6.191 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.529, allocations: 96 kB / 1.558 GB, free: 6.098 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.5318, allocations: 1.625 MB / 1.559 GB, free: 4.469 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.5322, allocations: 418.7 kB / 1.56 GB, free: 4.059 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006323/0.5329, allocations: 0.5872 MB / 1.56 GB, free: 3.469 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.5356, allocations: 2.028 MB / 1.562 GB, free: 1.434 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5356, allocations: 0 / 1.562 GB, free: 1.434 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5356, allocations: 0 / 1.562 GB, free: 1.434 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.5356, allocations: 3.938 kB / 1.562 GB, free: 1.43 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002283/0.5379, allocations: 1.395 MB / 1.563 GB, free: 0 / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5379, allocations: 12.08 kB / 1.563 GB, free: 15.98 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.5381, allocations: 122.5 kB / 1.564 GB, free: 15.86 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.5405, allocations: 426.8 kB / 1.564 GB, free: 15.44 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.542, allocations: 0.7246 MB / 1.565 GB, free: 14.69 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.542, allocations: 61.98 kB / 1.565 GB, free: 14.63 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.5422, allocations: 76 kB / 1.565 GB, free: 14.55 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.5439, allocations: 0.9826 MB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5439, allocations: 0 / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.544, allocations: 32 kB / 1.566 GB, free: 13.52 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.5441, allocations: 30 kB / 1.566 GB, free: 13.49 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.546, allocations: 0.8743 MB / 1.567 GB, free: 12.61 MB / 1.264 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.005872/0.5519, allocations: 3.436 MB / 1.57 GB, free: 9 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5534, allocations: 0.5929 MB / 1.571 GB, free: 8.398 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.5541, allocations: 313.3 kB / 1.571 GB, free: 8.09 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.5542, allocations: 28.31 kB / 1.571 GB, free: 8.062 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5543, allocations: 43.2 kB / 1.571 GB, free: 8.012 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.5543, allocations: 0 / 1.571 GB, free: 8.012 MB / 1.264 GB Notification: Performance of matching and sorting (n=41): time 0.007553/0.5618, allocations: 2.249 MB / 1.573 GB, free: 5.723 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.5619, allocations: 63.34 kB / 1.573 GB, free: 5.648 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.5628, allocations: 0.7902 MB / 1.574 GB, free: 4.852 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.5629, allocations: 37.7 kB / 1.574 GB, free: 4.809 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.5632, allocations: 452.5 kB / 1.575 GB, free: 4.359 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.5634, allocations: 154.7 kB / 1.575 GB, free: 4.207 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.5636, allocations: 110.2 kB / 1.575 GB, free: 4.094 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5637, allocations: 326 kB / 1.575 GB, free: 3.77 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007498/0.5645, allocations: 305.1 kB / 1.575 GB, free: 3.469 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/0.5653, allocations: 413 kB / 1.576 GB, free: 3.031 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.005073/0.5704, allocations: 1.792 MB / 1.578 GB, free: 1.199 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5704, allocations: 3.984 kB / 1.578 GB, free: 1.195 MB / 1.264 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003023/0.5734, allocations: 1.039 MB / 1.579 GB, free: 148 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5734, allocations: 9.859 kB / 1.579 GB, free: 140 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.5734, allocations: 4 kB / 1.579 GB, free: 136 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.574, allocations: 184.8 kB / 1.579 GB, free: 15.95 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.5747, allocations: 147.8 kB / 1.579 GB, free: 15.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.5784, allocations: 2.132 MB / 1.581 GB, free: 13.55 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/0.5792, allocations: 51.95 kB / 1.581 GB, free: 13.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.5793, allocations: 23.98 kB / 1.581 GB, free: 13.48 MB / 1.279 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004122/0.5797, allocations: 269.6 kB / 1.581 GB, free: 13.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.5798, allocations: 99.38 kB / 1.581 GB, free: 13.11 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.58, allocations: 92.23 kB / 1.581 GB, free: 13.02 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.58, allocations: 4 kB / 1.581 GB, free: 13.01 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.58, allocations: 4 kB / 1.581 GB, free: 13.01 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002782/0.5828, allocations: 0.8986 MB / 1.582 GB, free: 12.07 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.5879, allocations: 2.074 MB / 1.584 GB, free: 9.906 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5879, allocations: 11.88 kB / 1.584 GB, free: 9.895 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.5885, allocations: 128.2 kB / 1.584 GB, free: 9.77 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.5891, allocations: 192.7 kB / 1.585 GB, free: 9.578 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.5891, allocations: 12 kB / 1.585 GB, free: 9.566 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.5927, allocations: 2.095 MB / 1.587 GB, free: 7.359 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5927, allocations: 4 kB / 1.587 GB, free: 7.355 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.5964, allocations: 1.418 MB / 1.588 GB, free: 5.875 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.5969, allocations: 163.6 kB / 1.588 GB, free: 5.715 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.597, allocations: 16 kB / 1.588 GB, free: 5.699 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/0.5978, allocations: 60 kB / 1.588 GB, free: 5.641 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.5979, allocations: 35.88 kB / 1.588 GB, free: 5.605 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.598, allocations: 31.98 kB / 1.588 GB, free: 5.574 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007633/0.5987, allocations: 0.5536 MB / 1.589 GB, free: 5.023 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.5987, allocations: 0 / 1.589 GB, free: 5.023 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008142/0.5995, allocations: 275.9 kB / 1.589 GB, free: 4.754 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004332/0.6039, allocations: 2.05 MB / 1.591 GB, free: 2.637 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.6058, allocations: 0.7858 MB / 1.592 GB, free: 1.836 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6058, allocations: 0 / 1.592 GB, free: 1.836 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.6068, allocations: 455.5 kB / 1.592 GB, free: 1.379 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.6091, allocations: 0.5505 MB / 1.593 GB, free: 0.8438 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.6245, allocations: 7.685 MB / 1.6 GB, free: 8.875 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.6253, allocations: 1.044 MB / 1.601 GB, free: 7.805 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006956/0.626, allocations: 207.2 kB / 1.602 GB, free: 7.598 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.6264, allocations: 315.3 kB / 1.602 GB, free: 7.289 MB / 1.295 GB Notification: Performance of SimCode: time 5.71e-07/0.6265, allocations: 4 kB / 1.602 GB, free: 7.285 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6268/1.253, allocations: 28.39 MB / 1.63 GB, free: 253.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/14.17, allocations: 14.77 kB / 1.63 GB, free: 253.5 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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: 20.2304471579846]