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.001545/0.001545, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001649/0.001649, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.785 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.975/2.975, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.001955/0.001955, allocations: 68.84 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3132, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1945/0.5077, allocations: 168.6 MB / 1.528 GB, free: 4.887 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008899/0.5166, allocations: 5.44 MB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5176, allocations: 59.5 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.5191, allocations: 0.5592 MB / 1.534 GB, free: 14.81 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.5231, allocations: 1.696 MB / 1.536 GB, free: 13.11 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.5261, allocations: 1.234 MB / 1.537 GB, free: 11.88 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003382/0.5295, allocations: 2.608 MB / 1.539 GB, free: 9.266 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.5307, allocations: 0.6761 MB / 1.54 GB, free: 8.574 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.5332, allocations: 1.277 MB / 1.541 GB, free: 7.293 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.5352, allocations: 0.8256 MB / 1.542 GB, free: 6.469 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.5354, allocations: 96 kB / 1.542 GB, free: 6.375 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.5381, allocations: 1.263 MB / 1.543 GB, free: 5.109 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.5386, allocations: 418.7 kB / 1.544 GB, free: 4.699 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.5394, allocations: 0.4901 MB / 1.544 GB, free: 4.207 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.5422, allocations: 1.989 MB / 1.546 GB, free: 2.211 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5422, allocations: 4 kB / 1.546 GB, free: 2.207 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5422, allocations: 4 kB / 1.546 GB, free: 2.203 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.159e-05/0.5423, allocations: 4 kB / 1.546 GB, free: 2.199 MB / 1.232 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.00263/0.5449, allocations: 1.391 MB / 1.548 GB, free: 0.7734 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5449, allocations: 8.031 kB / 1.548 GB, free: 0.7656 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.5451, allocations: 122.6 kB / 1.548 GB, free: 0.6367 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.5476, allocations: 422.8 kB / 1.548 GB, free: 228 kB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.5492, allocations: 0.7285 MB / 1.549 GB, free: 15.46 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.5493, allocations: 65.94 kB / 1.549 GB, free: 15.4 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5494, allocations: 75.94 kB / 1.549 GB, free: 15.33 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.5515, allocations: 1.359 MB / 1.55 GB, free: 13.86 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5515, allocations: 0 / 1.55 GB, free: 13.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.5516, allocations: 32 kB / 1.55 GB, free: 13.82 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.5516, allocations: 30 kB / 1.55 GB, free: 13.8 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.5535, allocations: 0.8743 MB / 1.551 GB, free: 12.92 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.005727/0.5593, allocations: 2.768 MB / 1.554 GB, free: 10.08 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.5609, allocations: 0.593 MB / 1.554 GB, free: 9.48 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/0.5616, allocations: 313.3 kB / 1.555 GB, free: 9.172 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.5618, allocations: 20.31 kB / 1.555 GB, free: 9.152 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.5618, allocations: 47.16 kB / 1.555 GB, free: 9.098 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.5618, allocations: 0 / 1.555 GB, free: 9.098 MB / 1.248 GB Notification: Performance of matching and sorting (n=41): time 0.007916/0.5697, allocations: 2.249 MB / 1.557 GB, free: 6.809 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.5698, allocations: 55.41 kB / 1.557 GB, free: 6.742 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5708, allocations: 0.8096 MB / 1.558 GB, free: 5.922 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.5708, allocations: 33.7 kB / 1.558 GB, free: 5.883 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.5712, allocations: 460.5 kB / 1.558 GB, free: 5.426 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.5714, allocations: 154.7 kB / 1.559 GB, free: 5.273 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.5716, allocations: 106.2 kB / 1.559 GB, free: 5.164 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5717, allocations: 333.9 kB / 1.559 GB, free: 4.832 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/0.5725, allocations: 301.1 kB / 1.559 GB, free: 4.539 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008902/0.5734, allocations: 456.5 kB / 1.56 GB, free: 4.043 MB / 1.248 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.00519/0.5786, allocations: 1.807 MB / 1.561 GB, free: 2.195 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5786, allocations: 0 / 1.561 GB, free: 2.195 MB / 1.248 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003177/0.5817, allocations: 1.035 MB / 1.562 GB, free: 1.152 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5818, allocations: 9.875 kB / 1.562 GB, free: 1.145 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5818, allocations: 4 kB / 1.562 GB, free: 1.141 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.5824, allocations: 180.8 kB / 1.563 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.583, allocations: 143.8 kB / 1.563 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.587, allocations: 2.097 MB / 1.565 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.5878, allocations: 56 kB / 1.565 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.5879, allocations: 20 kB / 1.565 GB, free: 14.54 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.0004342/0.5883, allocations: 271.7 kB / 1.565 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.5885, allocations: 99.38 kB / 1.565 GB, free: 14.16 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.5887, allocations: 100.2 kB / 1.565 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5887, allocations: 4 kB / 1.565 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5887, allocations: 0 / 1.565 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002784/0.5915, allocations: 0.8986 MB / 1.566 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.5968, allocations: 1.939 MB / 1.568 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5968, allocations: 7.938 kB / 1.568 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.5974, allocations: 123.8 kB / 1.568 GB, free: 10.96 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.5979, allocations: 188.9 kB / 1.568 GB, free: 10.78 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.598, allocations: 27.92 kB / 1.568 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.6016, allocations: 2.053 MB / 1.57 GB, free: 8.586 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6017, allocations: 4.031 kB / 1.57 GB, free: 8.582 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/0.6054, allocations: 1.422 MB / 1.572 GB, free: 7.098 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.6059, allocations: 163.3 kB / 1.572 GB, free: 6.938 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6061, allocations: 16 kB / 1.572 GB, free: 6.922 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.6069, allocations: 60.66 kB / 1.572 GB, free: 6.863 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.607, allocations: 43.81 kB / 1.572 GB, free: 6.82 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.6071, allocations: 23.98 kB / 1.572 GB, free: 6.797 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000762/0.6078, allocations: 0.5576 MB / 1.573 GB, free: 6.242 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6078, allocations: 0 / 1.573 GB, free: 6.242 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008358/0.6086, allocations: 271.9 kB / 1.573 GB, free: 5.977 MB / 1.264 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.004312/0.613, allocations: 2.057 MB / 1.575 GB, free: 3.852 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.615, allocations: 0.7788 MB / 1.576 GB, free: 3.059 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.615, allocations: 0 / 1.576 GB, free: 3.059 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.6159, allocations: 451.5 kB / 1.576 GB, free: 2.605 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.6183, allocations: 0.5465 MB / 1.577 GB, free: 2.066 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.6341, allocations: 7.681 MB / 1.584 GB, free: 10.11 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.6346, allocations: 462.3 kB / 1.585 GB, free: 9.629 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007696/0.6354, allocations: 207.1 kB / 1.585 GB, free: 9.422 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.6359, allocations: 315.3 kB / 1.585 GB, free: 9.113 MB / 1.279 GB Notification: Performance of SimCode: time 5.82e-07/0.6359, allocations: 0 / 1.585 GB, free: 9.113 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6213/1.257, allocations: 30.32 MB / 1.615 GB, free: 245.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.47, allocations: 7.062 kB / 1.615 GB, free: 245.4 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: 19.630344805773348]