Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001447/0.001447, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001613/0.001613, allocations: 219 kB / 22.26 MB, free: 5.125 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.944/2.944, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_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.001898/0.001898, allocations: 78.55 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2804, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2057/0.4861, allocations: 194.6 MB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009108/0.4952, allocations: 5.788 MB / 1.522 GB, free: 8.766 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.4964, allocations: 51.56 kB / 1.522 GB, free: 8.715 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.4979, allocations: 0.6059 MB / 1.522 GB, free: 8.105 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.5018, allocations: 1.723 MB / 1.524 GB, free: 6.375 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.5049, allocations: 1.261 MB / 1.525 GB, free: 5.121 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003447/0.5083, allocations: 2.624 MB / 1.528 GB, free: 2.488 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.5095, allocations: 0.6838 MB / 1.528 GB, free: 1.793 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.512, allocations: 1.277 MB / 1.53 GB, free: 0.5117 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.5139, allocations: 0.8544 MB / 1.531 GB, free: 15.66 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.5141, allocations: 96 kB / 1.531 GB, free: 15.56 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.5171, allocations: 1.629 MB / 1.532 GB, free: 13.93 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.5176, allocations: 414.8 kB / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008205/0.5184, allocations: 0.5911 MB / 1.533 GB, free: 12.93 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.5214, allocations: 2.028 MB / 1.535 GB, free: 10.9 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5214, allocations: 0 / 1.535 GB, free: 10.9 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5214, allocations: 0 / 1.535 GB, free: 10.9 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.152e-05/0.5215, allocations: 4 kB / 1.535 GB, free: 10.89 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.002553/0.524, allocations: 1.388 MB / 1.537 GB, free: 9.473 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5241, allocations: 12.03 kB / 1.537 GB, free: 9.461 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.5242, allocations: 130.5 kB / 1.537 GB, free: 9.324 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.5267, allocations: 414.9 kB / 1.537 GB, free: 8.918 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.5283, allocations: 0.7362 MB / 1.538 GB, free: 8.148 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.5283, allocations: 57.98 kB / 1.538 GB, free: 8.094 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5284, allocations: 76 kB / 1.538 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.5303, allocations: 0.9855 MB / 1.539 GB, free: 7.016 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5303, allocations: 0 / 1.539 GB, free: 7.016 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.5304, allocations: 32 kB / 1.539 GB, free: 6.984 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.5305, allocations: 30 kB / 1.539 GB, free: 6.957 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5323, allocations: 0.8743 MB / 1.54 GB, free: 6.078 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.006108/0.5384, allocations: 3.444 MB / 1.543 GB, free: 2.453 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.54, allocations: 0.59 MB / 1.544 GB, free: 1.855 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.5407, allocations: 319.1 kB / 1.544 GB, free: 1.543 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.5409, allocations: 24.31 kB / 1.544 GB, free: 1.52 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5409, allocations: 43.16 kB / 1.544 GB, free: 1.469 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.5409, allocations: 0 / 1.544 GB, free: 1.469 MB / 1.232 GB Notification: Performance of matching and sorting (n=41): time 0.007795/0.5487, allocations: 2.251 MB / 1.546 GB, free: 15.18 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5488, allocations: 55.41 kB / 1.546 GB, free: 15.11 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.5499, allocations: 0.7941 MB / 1.547 GB, free: 14.31 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/0.55, allocations: 37.7 kB / 1.547 GB, free: 14.27 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.5504, allocations: 464.5 kB / 1.548 GB, free: 13.8 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.5506, allocations: 150.7 kB / 1.548 GB, free: 13.66 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.5508, allocations: 106.2 kB / 1.548 GB, free: 13.55 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5509, allocations: 330 kB / 1.548 GB, free: 13.22 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.5517, allocations: 301.1 kB / 1.548 GB, free: 12.93 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.5525, allocations: 409.1 kB / 1.549 GB, free: 12.49 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.005064/0.5575, allocations: 1.799 MB / 1.551 GB, free: 10.65 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5575, allocations: 0 / 1.551 GB, free: 10.65 MB / 1.248 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003073/0.5606, allocations: 1.039 MB / 1.552 GB, free: 9.605 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5606, allocations: 4 kB / 1.552 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5606, allocations: 8 kB / 1.552 GB, free: 9.594 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.5612, allocations: 192.8 kB / 1.552 GB, free: 9.402 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.5619, allocations: 147.8 kB / 1.552 GB, free: 9.258 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.5656, allocations: 2.12 MB / 1.554 GB, free: 7.031 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.5665, allocations: 52.02 kB / 1.554 GB, free: 6.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.5665, allocations: 24.17 kB / 1.554 GB, free: 6.957 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: 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.0004586/0.567, allocations: 277.6 kB / 1.554 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.5672, allocations: 99.36 kB / 1.554 GB, free: 6.578 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.5673, allocations: 96.23 kB / 1.555 GB, free: 6.48 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5673, allocations: 4 kB / 1.555 GB, free: 6.477 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.5674, allocations: 0 / 1.555 GB, free: 6.477 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00269/0.57, allocations: 0.8987 MB / 1.555 GB, free: 5.543 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.5752, allocations: 2.078 MB / 1.557 GB, free: 3.371 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5752, allocations: 11.88 kB / 1.557 GB, free: 3.359 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.5758, allocations: 127.8 kB / 1.558 GB, free: 3.234 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.5763, allocations: 188.9 kB / 1.558 GB, free: 3.047 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.5764, allocations: 12 kB / 1.558 GB, free: 3.035 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.5799, allocations: 2.092 MB / 1.56 GB, free: 0.832 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5799, allocations: 4 kB / 1.56 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/0.5836, allocations: 1.421 MB / 1.561 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.5841, allocations: 159.4 kB / 1.561 GB, free: 15.19 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5842, allocations: 12 kB / 1.561 GB, free: 15.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.585, allocations: 60 kB / 1.561 GB, free: 15.12 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.5851, allocations: 43.81 kB / 1.561 GB, free: 15.07 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.5852, allocations: 31.98 kB / 1.561 GB, free: 15.04 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007064/0.5859, allocations: 0.5536 MB / 1.562 GB, free: 14.49 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5859, allocations: 0 / 1.562 GB, free: 14.49 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008144/0.5867, allocations: 271.9 kB / 1.562 GB, free: 14.23 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.004136/0.5908, allocations: 2.043 MB / 1.564 GB, free: 12.11 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.5927, allocations: 0.7862 MB / 1.565 GB, free: 11.31 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.5927, allocations: 8.125 kB / 1.565 GB, free: 11.3 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.5936, allocations: 443 kB / 1.565 GB, free: 10.86 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.5959, allocations: 0.5475 MB / 1.566 GB, free: 10.32 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.611, allocations: 7.676 MB / 1.573 GB, free: 2.359 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.6118, allocations: 1.059 MB / 1.575 GB, free: 1.273 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007355/0.6125, allocations: 199.2 kB / 1.575 GB, free: 1.074 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.613, allocations: 315.3 kB / 1.575 GB, free: 0.7656 MB / 1.264 GB Notification: Performance of SimCode: time 9.22e-07/0.613, allocations: 0 / 1.575 GB, free: 0.7656 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06844/0.6815, allocations: 28.4 MB / 1.603 GB, free: 4.809 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.43, allocations: 6.641 kB / 1.603 GB, free: 4.805 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.94393153116107]