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.001432/0.001432, 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.001577/0.001577, allocations: 216 kB / 23.04 MB, free: 5.066 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.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.855/2.855, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001768/0.001768, allocations: 74.84 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2867, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2065/0.4933, allocations: 194.6 MB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.5025, allocations: 5.779 MB / 1.541 GB, free: 7.246 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5035, allocations: 55.56 kB / 1.541 GB, free: 7.191 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.5049, allocations: 0.6058 MB / 1.542 GB, free: 6.582 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.5088, allocations: 1.719 MB / 1.543 GB, free: 4.855 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.5117, allocations: 1.265 MB / 1.545 GB, free: 3.598 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.515, allocations: 2.62 MB / 1.547 GB, free: 0.9648 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009535/0.5159, allocations: 0.6916 MB / 1.548 GB, free: 272 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.5181, allocations: 1.277 MB / 1.549 GB, free: 14.98 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.5198, allocations: 0.846 MB / 1.55 GB, free: 14.14 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.5199, allocations: 99.94 kB / 1.55 GB, free: 14.04 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.5227, allocations: 1.629 MB / 1.552 GB, free: 12.41 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.5232, allocations: 422.7 kB / 1.552 GB, free: 12 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006329/0.5238, allocations: 0.5794 MB / 1.553 GB, free: 11.41 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.5265, allocations: 2.04 MB / 1.555 GB, free: 9.367 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5265, allocations: 0 / 1.555 GB, free: 9.367 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5265, allocations: 0 / 1.555 GB, free: 9.367 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.5266, allocations: 0 / 1.555 GB, free: 9.367 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.002299/0.5289, allocations: 1.387 MB / 1.556 GB, free: 7.941 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5289, allocations: 12.03 kB / 1.556 GB, free: 7.93 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.839e-05/0.5289, allocations: 18 kB / 1.556 GB, free: 7.914 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.5291, allocations: 134.6 kB / 1.556 GB, free: 7.773 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.5315, allocations: 422.9 kB / 1.556 GB, free: 7.359 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.5329, allocations: 0.7323 MB / 1.557 GB, free: 6.602 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.533, allocations: 58 kB / 1.557 GB, free: 6.547 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5331, allocations: 75.94 kB / 1.557 GB, free: 6.473 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.5349, allocations: 0.9789 MB / 1.558 GB, free: 5.473 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.5349, allocations: 3.938 kB / 1.558 GB, free: 5.469 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.535, allocations: 32 kB / 1.558 GB, free: 5.438 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.535, allocations: 33.98 kB / 1.558 GB, free: 5.406 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.5369, allocations: 0.8705 MB / 1.559 GB, free: 4.535 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.005686/0.5426, allocations: 3.436 MB / 1.563 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.5441, allocations: 0.589 MB / 1.563 GB, free: 332 kB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.5449, allocations: 321.3 kB / 1.563 GB, free: 8 kB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.5451, allocations: 28.23 kB / 1.563 GB, free: 15.98 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.5451, allocations: 39.22 kB / 1.564 GB, free: 15.93 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 4.549e-06/0.5451, allocations: 3.984 kB / 1.564 GB, free: 15.93 MB / 1.264 GB Notification: Performance of matching and sorting (n=41): time 0.007697/0.5528, allocations: 2.255 MB / 1.566 GB, free: 13.63 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5528, allocations: 55.41 kB / 1.566 GB, free: 13.57 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.5538, allocations: 0.7902 MB / 1.567 GB, free: 12.77 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.5539, allocations: 41.7 kB / 1.567 GB, free: 12.72 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.5542, allocations: 452.5 kB / 1.567 GB, free: 12.27 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.5544, allocations: 154.7 kB / 1.567 GB, free: 12.12 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.5546, allocations: 110.2 kB / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5547, allocations: 322 kB / 1.568 GB, free: 11.68 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.5555, allocations: 305.1 kB / 1.568 GB, free: 11.38 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.5563, allocations: 409.1 kB / 1.568 GB, free: 10.95 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.00514/0.5615, allocations: 1.795 MB / 1.57 GB, free: 9.113 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5615, allocations: 0 / 1.57 GB, free: 9.113 MB / 1.264 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003178/0.5646, allocations: 1.039 MB / 1.571 GB, free: 8.062 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5647, allocations: 8 kB / 1.571 GB, free: 8.055 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5647, allocations: 0 / 1.571 GB, free: 8.055 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.5653, allocations: 192.8 kB / 1.571 GB, free: 7.863 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.5659, allocations: 143.8 kB / 1.571 GB, free: 7.723 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/0.5699, allocations: 2.133 MB / 1.573 GB, free: 5.48 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/0.5709, allocations: 56 kB / 1.573 GB, free: 5.426 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.5709, allocations: 20 kB / 1.573 GB, free: 5.406 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: 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.0004766/0.5714, allocations: 277.6 kB / 1.574 GB, free: 5.125 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5716, allocations: 91.44 kB / 1.574 GB, free: 5.035 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.5717, allocations: 92.23 kB / 1.574 GB, free: 4.941 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.5717, allocations: 4 kB / 1.574 GB, free: 4.938 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5717, allocations: 4 kB / 1.574 GB, free: 4.934 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002746/0.5745, allocations: 0.9028 MB / 1.575 GB, free: 3.996 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.5796, allocations: 2.083 MB / 1.577 GB, free: 1.82 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5796, allocations: 0 / 1.577 GB, free: 1.82 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.5802, allocations: 123.8 kB / 1.577 GB, free: 1.699 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.5808, allocations: 192.9 kB / 1.577 GB, free: 1.508 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.5808, allocations: 12 kB / 1.577 GB, free: 1.496 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.5844, allocations: 2.092 MB / 1.579 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.036e-06/0.5844, allocations: 11.88 kB / 1.579 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.5881, allocations: 1.413 MB / 1.581 GB, free: 13.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.5885, allocations: 163.3 kB / 1.581 GB, free: 13.64 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5887, allocations: 15.98 kB / 1.581 GB, free: 13.62 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.5894, allocations: 52.02 kB / 1.581 GB, free: 13.57 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5895, allocations: 51.81 kB / 1.581 GB, free: 13.52 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.5896, allocations: 27.97 kB / 1.581 GB, free: 13.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007304/0.5903, allocations: 0.5498 MB / 1.581 GB, free: 12.95 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.5903, allocations: 0 / 1.581 GB, free: 12.95 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008169/0.5911, allocations: 271.9 kB / 1.582 GB, free: 12.68 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.004193/0.5953, allocations: 2.067 MB / 1.584 GB, free: 10.55 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.5973, allocations: 0.7784 MB / 1.584 GB, free: 9.758 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5973, allocations: 8 kB / 1.584 GB, free: 9.75 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00092/0.5982, allocations: 450.9 kB / 1.585 GB, free: 9.297 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.6005, allocations: 0.5431 MB / 1.585 GB, free: 8.762 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.6152, allocations: 7.674 MB / 1.593 GB, free: 0.8047 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.6159, allocations: 1.044 MB / 1.594 GB, free: 15.73 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007401/0.6167, allocations: 199.2 kB / 1.594 GB, free: 15.54 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.6171, allocations: 315.3 kB / 1.594 GB, free: 15.23 MB / 1.295 GB Notification: Performance of SimCode: time 7.12e-07/0.6171, allocations: 0 / 1.594 GB, free: 15.23 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5912/1.208, allocations: 28.43 MB / 1.622 GB, free: 257.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.29, allocations: 10.42 kB / 1.622 GB, free: 257.1 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.48512061801739]