Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001001/0.001001, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009459/0.0009459, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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 0.9774/0.9774, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 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.106/2.106, allocations: 429.5 MB / 0.6743 GB, free: 3.938 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.745e-05/3.903e-05, allocations: 4.562 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1689/0.1689, allocations: 148.2 MB / 1.024 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005388/0.1743, allocations: 3.828 MB / 1.028 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.175, allocations: 55.5 kB / 1.028 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.1757, allocations: 281.9 kB / 1.028 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.1775, allocations: 1.064 MB / 1.029 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.1792, allocations: 0.9897 MB / 1.03 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.1816, allocations: 2.569 MB / 1.033 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000877/0.1824, allocations: 0.7709 MB / 1.033 GB, free: 7.676 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.1845, allocations: 1.423 MB / 1.035 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.1854, allocations: 0.779 MB / 1.036 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.1855, allocations: 108 kB / 1.036 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1865, allocations: 0.6626 MB / 1.036 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.187, allocations: 0.5338 MB / 1.037 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.1874, allocations: 470.9 kB / 1.037 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.189, allocations: 1.39 MB / 1.039 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.189, allocations: 7.938 kB / 1.039 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.189, allocations: 0 / 1.039 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.189, allocations: 0 / 1.039 GB, free: 2.332 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001643/0.1906, allocations: 1.518 MB / 1.04 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1907, allocations: 8.031 kB / 1.04 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.1921, allocations: 499.4 kB / 1.041 GB, free: 284 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.1929, allocations: 0.7462 MB / 1.041 GB, free: 15.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.193, allocations: 66.12 kB / 1.041 GB, free: 15.44 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1931, allocations: 96 kB / 1.042 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.194, allocations: 1.07 MB / 1.043 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1941, allocations: 7.953 kB / 1.043 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.1941, allocations: 43.98 kB / 1.043 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.1942, allocations: 37.98 kB / 1.043 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.1946, allocations: 313.6 kB / 1.043 GB, free: 13.76 MB / 1.01 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.00324/0.1978, allocations: 2.94 MB / 1.046 GB, free: 10.73 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.1983, allocations: 295 kB / 1.046 GB, free: 10.43 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1984, allocations: 111.6 kB / 1.046 GB, free: 10.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/0.1985, allocations: 31.97 kB / 1.046 GB, free: 10.29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1985, allocations: 41.39 kB / 1.046 GB, free: 10.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.1985, allocations: 0 / 1.046 GB, free: 10.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.0014/0.1999, allocations: 0.8191 MB / 1.047 GB, free: 9.379 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2, allocations: 55.41 kB / 1.047 GB, free: 9.312 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.2004, allocations: 0.6241 MB / 1.048 GB, free: 8.672 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.2004, allocations: 33.7 kB / 1.048 GB, free: 8.633 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.2007, allocations: 0.5727 MB / 1.048 GB, free: 8.051 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2008, allocations: 170.5 kB / 1.049 GB, free: 7.883 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.201, allocations: 127.9 kB / 1.049 GB, free: 7.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2012, allocations: 0.5702 MB / 1.049 GB, free: 7.168 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2013, allocations: 77.19 kB / 1.049 GB, free: 7.09 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.2015, allocations: 320.9 kB / 1.05 GB, free: 6.695 MB / 1.01 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.000661/0.2022, allocations: 0.5442 MB / 1.05 GB, free: 6.082 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2022, allocations: 0 / 1.05 GB, free: 6.082 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005377/0.2027, allocations: 448.7 kB / 1.051 GB, free: 5.641 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2027, allocations: 8 kB / 1.051 GB, free: 5.633 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2028, allocations: 4 kB / 1.051 GB, free: 5.629 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2028, allocations: 16.38 kB / 1.051 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.2032, allocations: 159.8 kB / 1.051 GB, free: 5.457 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2032, allocations: 11.94 kB / 1.051 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.2035, allocations: 39.97 kB / 1.051 GB, free: 5.406 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.2036, allocations: 24 kB / 1.051 GB, free: 5.383 MB / 1.01 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.2038, allocations: 192.4 kB / 1.051 GB, free: 5.184 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2039, allocations: 99.48 kB / 1.051 GB, free: 5.086 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.204, allocations: 79.12 kB / 1.051 GB, free: 5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.204, allocations: 7.938 kB / 1.051 GB, free: 4.992 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.204, allocations: 0 / 1.051 GB, free: 4.992 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004027/0.2044, allocations: 0.55 MB / 1.052 GB, free: 4.355 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.2059, allocations: 1.192 MB / 1.053 GB, free: 3.074 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2059, allocations: 4 kB / 1.053 GB, free: 3.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.2063, allocations: 131.8 kB / 1.053 GB, free: 2.941 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2063, allocations: 8.344 kB / 1.053 GB, free: 2.934 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.2063, allocations: 23.98 kB / 1.053 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2063, allocations: 4 kB / 1.053 GB, free: 2.906 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2063, allocations: 4 kB / 1.053 GB, free: 2.902 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.2071, allocations: 0.6672 MB / 1.054 GB, free: 2.152 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.2073, allocations: 147.4 kB / 1.054 GB, free: 2.008 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.2074, allocations: 16 kB / 1.054 GB, free: 1.992 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.2078, allocations: 43.89 kB / 1.054 GB, free: 1.949 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.2078, allocations: 43.88 kB / 1.054 GB, free: 1.906 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.2079, allocations: 23.98 kB / 1.054 GB, free: 1.883 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002434/0.2081, allocations: 382.8 kB / 1.054 GB, free: 1.516 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 0 / 1.054 GB, free: 1.516 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000554/0.2087, allocations: 267.9 kB / 1.055 GB, free: 1.254 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.2089, allocations: 178.9 kB / 1.055 GB, free: 1.066 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.2094, allocations: 299.4 kB / 1.055 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2094, allocations: 4 kB / 1.055 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2095, allocations: 141.5 kB / 1.055 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.2107, allocations: 479.4 kB / 1.056 GB, free: 176 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4849/0.6956, allocations: 1.792 MB / 1.057 GB, free: 79.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.6958, allocations: 239.7 kB / 1.058 GB, free: 79.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006745/0.6964, allocations: 139.9 kB / 1.058 GB, free: 79.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009026/0.6973, allocations: 457.9 kB / 1.058 GB, free: 79.58 MB / 1.01 GB Notification: Performance of SimCode: time 2.034e-06/0.6973, allocations: 0 / 1.058 GB, free: 79.58 MB / 1.01 GB Notification: Performance of Templates: time 0.02682/0.7242, allocations: 19.83 MB / 1.078 GB, free: 78.08 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7517366372048855]