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.001445/0.001445, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.00148/0.00148, allocations: 211 kB / 20.13 MB, free: 2.969 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.386/1.386, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.789/2.789, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 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.001893/0.001893, allocations: 63.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8667, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2206/1.087, allocations: 194.3 MB / 1.53 GB, free: 5.84 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009507/1.097, allocations: 5.77 MB / 1.536 GB, free: 64 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/1.098, allocations: 59.56 kB / 1.536 GB, free: 4 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/1.099, allocations: 0.6019 MB / 1.536 GB, free: 15.4 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003859/1.103, allocations: 1.688 MB / 1.538 GB, free: 13.7 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/1.106, allocations: 1.222 MB / 1.539 GB, free: 12.49 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003359/1.11, allocations: 2.558 MB / 1.542 GB, free: 9.926 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/1.111, allocations: 0.7457 MB / 1.542 GB, free: 9.172 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/1.113, allocations: 1.269 MB / 1.543 GB, free: 7.898 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/1.115, allocations: 0.8568 MB / 1.544 GB, free: 7.043 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/1.115, allocations: 96 kB / 1.544 GB, free: 6.949 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/1.118, allocations: 1.602 MB / 1.546 GB, free: 5.344 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/1.118, allocations: 414.8 kB / 1.546 GB, free: 4.938 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006622/1.119, allocations: 0.591 MB / 1.547 GB, free: 4.344 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/1.122, allocations: 2.021 MB / 1.549 GB, free: 2.316 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.122, allocations: 0 / 1.549 GB, free: 2.316 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.483e-06/1.122, allocations: 0 / 1.549 GB, free: 2.316 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.973e-05/1.122, allocations: 0 / 1.549 GB, free: 2.316 MB / 1.217 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.002581/1.124, allocations: 1.48 MB / 1.55 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.125, allocations: 12.56 kB / 1.55 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.048e-05/1.125, allocations: 26 kB / 1.55 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/1.125, allocations: 122.6 kB / 1.551 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/1.127, allocations: 422.8 kB / 1.551 GB, free: 208 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/1.129, allocations: 0.8084 MB / 1.552 GB, free: 15.35 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/1.129, allocations: 62 kB / 1.552 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.129, allocations: 75.94 kB / 1.552 GB, free: 15.22 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/1.131, allocations: 0.975 MB / 1.553 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.131, allocations: 0 / 1.553 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/1.131, allocations: 39.94 kB / 1.553 GB, free: 14.18 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/1.131, allocations: 33.98 kB / 1.553 GB, free: 14.15 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.133, allocations: 0.8627 MB / 1.554 GB, free: 13.29 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.006121/1.139, allocations: 3.502 MB / 1.557 GB, free: 9.609 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/1.141, allocations: 0.5877 MB / 1.558 GB, free: 9.016 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/1.142, allocations: 317.3 kB / 1.558 GB, free: 8.703 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.142, allocations: 101.4 kB / 1.558 GB, free: 8.586 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.142, allocations: 39.22 kB / 1.558 GB, free: 8.539 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/1.142, allocations: 0 / 1.558 GB, free: 8.539 MB / 1.232 GB Notification: Performance of matching and sorting (n=41): time 0.008715/1.151, allocations: 2.412 MB / 1.56 GB, free: 6.051 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.151, allocations: 59.34 kB / 1.561 GB, free: 5.98 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.152, allocations: 0.794 MB / 1.561 GB, free: 5.176 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/1.152, allocations: 37.7 kB / 1.561 GB, free: 5.133 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/1.152, allocations: 448.5 kB / 1.562 GB, free: 4.688 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.152, allocations: 154.7 kB / 1.562 GB, free: 4.535 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.153, allocations: 106.2 kB / 1.562 GB, free: 4.426 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.153, allocations: 330 kB / 1.562 GB, free: 4.098 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/1.153, allocations: 300.9 kB / 1.563 GB, free: 3.801 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/1.154, allocations: 412.1 kB / 1.563 GB, free: 3.367 MB / 1.232 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.005504/1.16, allocations: 1.87 MB / 1.565 GB, free: 1.438 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.16, allocations: 0 / 1.565 GB, free: 1.438 MB / 1.232 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003321/1.163, allocations: 1.047 MB / 1.566 GB, free: 388 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.163, allocations: 8 kB / 1.566 GB, free: 380 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.163, allocations: 0 / 1.566 GB, free: 380 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/1.164, allocations: 188.8 kB / 1.566 GB, free: 188 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/1.165, allocations: 143.8 kB / 1.566 GB, free: 44 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/1.169, allocations: 2.237 MB / 1.568 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.17, allocations: 55.89 kB / 1.568 GB, free: 13.61 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/1.17, allocations: 23.98 kB / 1.568 GB, free: 13.59 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.0005058/1.17, allocations: 273.6 kB / 1.569 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.171, allocations: 91.44 kB / 1.569 GB, free: 13.22 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/1.171, allocations: 96.23 kB / 1.569 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.171, allocations: 8 kB / 1.569 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.171, allocations: 0 / 1.569 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002902/1.174, allocations: 0.8947 MB / 1.57 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/1.179, allocations: 2.107 MB / 1.572 GB, free: 9.98 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.179, allocations: 7.938 kB / 1.572 GB, free: 9.973 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/1.18, allocations: 128.2 kB / 1.572 GB, free: 9.848 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006006/1.18, allocations: 176.7 kB / 1.572 GB, free: 9.672 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/1.181, allocations: 19.98 kB / 1.572 GB, free: 9.652 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/1.184, allocations: 2.192 MB / 1.574 GB, free: 7.32 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.184, allocations: 7.938 kB / 1.574 GB, free: 7.312 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/1.189, allocations: 1.413 MB / 1.576 GB, free: 5.836 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/1.189, allocations: 240.4 kB / 1.576 GB, free: 5.582 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.189, allocations: 12 kB / 1.576 GB, free: 5.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/1.19, allocations: 64.59 kB / 1.576 GB, free: 5.508 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.19, allocations: 39.83 kB / 1.576 GB, free: 5.469 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/1.19, allocations: 27.98 kB / 1.576 GB, free: 5.441 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007711/1.191, allocations: 0.5614 MB / 1.577 GB, free: 4.883 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.191, allocations: 0 / 1.577 GB, free: 4.883 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008923/1.192, allocations: 267.9 kB / 1.577 GB, free: 4.621 MB / 1.248 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.004496/1.196, allocations: 2.049 MB / 1.579 GB, free: 2.504 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.198, allocations: 0.7779 MB / 1.58 GB, free: 1.715 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.198, allocations: 4 kB / 1.58 GB, free: 1.711 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009835/1.199, allocations: 451.5 kB / 1.58 GB, free: 1.258 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.202, allocations: 0.5448 MB / 1.581 GB, free: 0.7227 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.218, allocations: 7.703 MB / 1.588 GB, free: 8.738 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/1.219, allocations: 1.048 MB / 1.589 GB, free: 7.664 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000789/1.219, allocations: 203.2 kB / 1.589 GB, free: 7.461 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/1.22, allocations: 315.3 kB / 1.59 GB, free: 7.152 MB / 1.264 GB Notification: Performance of SimCode: time 1.363e-06/1.22, allocations: 4 kB / 1.59 GB, free: 7.148 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06463/1.285, allocations: 28.05 MB / 1.617 GB, free: 11.59 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.41, allocations: 15.61 kB / 1.617 GB, free: 11.58 MB / 1.295 GB " [Timeout remaining time 285] (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.51630691200262]