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.001207/0.001207, allocations: 116.1 kB / 17.17 MB, free: 6 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.0013/0.0013, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.419/1.419, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.793/2.793, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_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.001981/0.001981, allocations: 67.89 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9134/0.9154, allocations: 176.1 MB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2393/1.155, allocations: 194.3 MB / 1.511 GB, free: 7.059 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01141/1.166, allocations: 5.775 MB / 1.517 GB, free: 1.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/1.168, allocations: 51.56 kB / 1.517 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/1.17, allocations: 0.6136 MB / 1.518 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/1.176, allocations: 1.688 MB / 1.519 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/1.179, allocations: 1.219 MB / 1.52 GB, free: 13.69 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004105/1.184, allocations: 2.562 MB / 1.523 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.185, allocations: 0.7457 MB / 1.524 GB, free: 10.37 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/1.188, allocations: 1.269 MB / 1.525 GB, free: 9.098 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/1.19, allocations: 0.8461 MB / 1.526 GB, free: 8.254 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/1.19, allocations: 96 kB / 1.526 GB, free: 8.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/1.193, allocations: 1.61 MB / 1.527 GB, free: 6.547 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005367/1.194, allocations: 410.8 kB / 1.528 GB, free: 6.145 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008359/1.194, allocations: 0.5911 MB / 1.528 GB, free: 5.551 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/1.198, allocations: 2.028 MB / 1.53 GB, free: 3.516 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.198, allocations: 0 / 1.53 GB, free: 3.516 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/1.198, allocations: 4 kB / 1.53 GB, free: 3.512 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.785e-05/1.198, allocations: 0 / 1.53 GB, free: 3.512 MB / 1.201 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.002666/1.201, allocations: 1.467 MB / 1.532 GB, free: 1.992 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.201, allocations: 15.98 kB / 1.532 GB, free: 1.977 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.393e-05/1.201, allocations: 26 kB / 1.532 GB, free: 1.949 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/1.201, allocations: 118.6 kB / 1.532 GB, free: 1.824 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/1.204, allocations: 426.8 kB / 1.532 GB, free: 1.406 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/1.205, allocations: 0.8123 MB / 1.533 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/1.205, allocations: 61.98 kB / 1.533 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.206, allocations: 75.94 kB / 1.533 GB, free: 428 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/1.208, allocations: 0.9789 MB / 1.534 GB, free: 15.42 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.208, allocations: 0 / 1.534 GB, free: 15.42 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/1.208, allocations: 32 kB / 1.534 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/1.208, allocations: 33.92 kB / 1.534 GB, free: 15.36 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/1.21, allocations: 0.8666 MB / 1.535 GB, free: 14.49 MB / 1.217 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.006561/1.216, allocations: 3.494 MB / 1.538 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/1.218, allocations: 0.5891 MB / 1.539 GB, free: 10.21 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/1.219, allocations: 325.2 kB / 1.539 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/1.219, allocations: 97.42 kB / 1.539 GB, free: 9.781 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/1.219, allocations: 39.22 kB / 1.539 GB, free: 9.734 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/1.219, allocations: 4 kB / 1.539 GB, free: 9.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.008789/1.228, allocations: 2.392 MB / 1.542 GB, free: 7.262 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/1.228, allocations: 67.33 kB / 1.542 GB, free: 7.184 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/1.229, allocations: 0.7979 MB / 1.543 GB, free: 6.375 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.229, allocations: 37.7 kB / 1.543 GB, free: 6.332 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/1.23, allocations: 452.5 kB / 1.543 GB, free: 5.887 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.23, allocations: 154.7 kB / 1.543 GB, free: 5.734 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.23, allocations: 102.2 kB / 1.543 GB, free: 5.629 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.23, allocations: 326 kB / 1.544 GB, free: 5.305 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/1.231, allocations: 300.9 kB / 1.544 GB, free: 5.008 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/1.232, allocations: 412.1 kB / 1.544 GB, free: 4.574 MB / 1.217 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.005597/1.237, allocations: 1.878 MB / 1.546 GB, free: 2.645 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.238, allocations: 0 / 1.546 GB, free: 2.645 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003426/1.241, allocations: 1.035 MB / 1.547 GB, free: 1.598 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.241, allocations: 10.5 kB / 1.547 GB, free: 1.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.241, allocations: 7.938 kB / 1.547 GB, free: 1.582 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/1.242, allocations: 188.8 kB / 1.547 GB, free: 1.395 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/1.242, allocations: 139.8 kB / 1.548 GB, free: 1.258 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004374/1.247, allocations: 2.232 MB / 1.55 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.248, allocations: 51.95 kB / 1.55 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/1.248, allocations: 23.98 kB / 1.55 GB, free: 14.81 MB / 1.232 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.0005189/1.248, allocations: 277.6 kB / 1.55 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/1.249, allocations: 91.44 kB / 1.55 GB, free: 14.44 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/1.249, allocations: 96.23 kB / 1.55 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.249, allocations: 8 kB / 1.55 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.249, allocations: 0 / 1.55 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002945/1.252, allocations: 0.8948 MB / 1.551 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/1.257, allocations: 2.108 MB / 1.553 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.257, allocations: 4 kB / 1.553 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/1.258, allocations: 132.2 kB / 1.553 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/1.259, allocations: 180.7 kB / 1.553 GB, free: 10.88 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/1.259, allocations: 19.98 kB / 1.554 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/1.263, allocations: 2.192 MB / 1.556 GB, free: 8.531 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.263, allocations: 8 kB / 1.556 GB, free: 8.523 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/1.267, allocations: 1.413 MB / 1.557 GB, free: 7.047 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/1.268, allocations: 244.4 kB / 1.557 GB, free: 6.789 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.268, allocations: 8 kB / 1.557 GB, free: 6.781 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/1.269, allocations: 62.41 kB / 1.557 GB, free: 6.723 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.269, allocations: 43.83 kB / 1.557 GB, free: 6.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/1.269, allocations: 27.98 kB / 1.557 GB, free: 6.652 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000906/1.27, allocations: 0.5576 MB / 1.558 GB, free: 6.102 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.27, allocations: 0 / 1.558 GB, free: 6.102 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001103/1.271, allocations: 267.9 kB / 1.558 GB, free: 5.84 MB / 1.232 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.004805/1.276, allocations: 2.058 MB / 1.56 GB, free: 3.715 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002222/1.278, allocations: 0.782 MB / 1.561 GB, free: 2.918 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.278, allocations: 0 / 1.561 GB, free: 2.918 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.279, allocations: 443.5 kB / 1.561 GB, free: 2.473 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.282, allocations: 0.5476 MB / 1.562 GB, free: 1.93 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.299, allocations: 7.687 MB / 1.569 GB, free: 9.961 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.3, allocations: 1.044 MB / 1.57 GB, free: 8.891 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008477/1.301, allocations: 211.1 kB / 1.571 GB, free: 8.68 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/1.301, allocations: 319.3 kB / 1.571 GB, free: 8.367 MB / 1.248 GB Notification: Performance of SimCode: time 7.52e-07/1.301, allocations: 3.938 kB / 1.571 GB, free: 8.363 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06402/1.365, allocations: 28.04 MB / 1.598 GB, free: 12.85 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.55, allocations: 11.56 kB / 1.598 GB, free: 12.84 MB / 1.279 GB " [Timeout remaining time 285] (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: 20.84646845498355]