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.0009667/0.0009667, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007781/0.0007781, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 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.8716/0.8716, allocations: 177.1 MB / 203.5 MB, free: 5.73 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 1.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.765e-05, allocations: 2.281 kB / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.663/0.663, allocations: 168.4 MB / 1.165 GB, free: 8.324 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007474/0.6705, allocations: 5.431 MB / 1.171 GB, free: 3.996 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.6719, allocations: 55.41 kB / 1.171 GB, free: 3.969 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6732, allocations: 0.5708 MB / 1.171 GB, free: 3.473 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.677, allocations: 1.733 MB / 1.173 GB, free: 1.73 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.6794, allocations: 1.266 MB / 1.174 GB, free: 488 kB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.6828, allocations: 2.615 MB / 1.177 GB, free: 13.85 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000956/0.6837, allocations: 0.6844 MB / 1.177 GB, free: 13.16 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.6861, allocations: 1.57 MB / 1.179 GB, free: 11.58 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.6874, allocations: 0.7517 MB / 1.18 GB, free: 10.84 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.6875, allocations: 96 kB / 1.18 GB, free: 10.75 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.6896, allocations: 1.281 MB / 1.181 GB, free: 9.461 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.6901, allocations: 438.7 kB / 1.181 GB, free: 9.031 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000524/0.6906, allocations: 431 kB / 1.182 GB, free: 8.609 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.6936, allocations: 2.068 MB / 1.184 GB, free: 6.535 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.6936, allocations: 0 / 1.184 GB, free: 6.535 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6936, allocations: 0 / 1.184 GB, free: 6.535 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.6936, allocations: 0 / 1.184 GB, free: 6.535 MB / 1.026 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.001915/0.6955, allocations: 1.376 MB / 1.185 GB, free: 5.121 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6955, allocations: 12.03 kB / 1.185 GB, free: 5.109 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.6971, allocations: 414.9 kB / 1.186 GB, free: 4.703 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.6981, allocations: 0.7285 MB / 1.186 GB, free: 3.949 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.6982, allocations: 54 kB / 1.186 GB, free: 3.895 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/0.6983, allocations: 76 kB / 1.187 GB, free: 3.82 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6998, allocations: 1.367 MB / 1.188 GB, free: 2.344 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.6999, allocations: 0 / 1.188 GB, free: 2.344 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.6999, allocations: 32 kB / 1.188 GB, free: 2.312 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.6999, allocations: 37.94 kB / 1.188 GB, free: 2.273 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.7011, allocations: 0.8626 MB / 1.189 GB, free: 1.41 MB / 1.026 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.003623/0.7047, allocations: 2.614 MB / 1.191 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.7056, allocations: 0.5861 MB / 1.192 GB, free: 14.14 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.706, allocations: 323.2 kB / 1.192 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7061, allocations: 32.19 kB / 1.192 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.7061, allocations: 39.22 kB / 1.192 GB, free: 13.75 MB / 1.042 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.7061, allocations: 0 / 1.192 GB, free: 13.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=41): time 0.004216/0.7103, allocations: 2.24 MB / 1.194 GB, free: 11.46 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.7104, allocations: 59.91 kB / 1.194 GB, free: 11.39 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.7109, allocations: 0.6291 MB / 1.195 GB, free: 10.76 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.7109, allocations: 37.7 kB / 1.195 GB, free: 10.72 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.7112, allocations: 456.1 kB / 1.196 GB, free: 10.27 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7113, allocations: 154.7 kB / 1.196 GB, free: 10.11 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.7114, allocations: 102.3 kB / 1.196 GB, free: 10 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7115, allocations: 382.7 kB / 1.196 GB, free: 9.621 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.7119, allocations: 301.1 kB / 1.196 GB, free: 9.328 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.7124, allocations: 464.5 kB / 1.197 GB, free: 8.824 MB / 1.042 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.003023/0.7154, allocations: 1.803 MB / 1.199 GB, free: 6.988 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7154, allocations: 4 kB / 1.199 GB, free: 6.984 MB / 1.042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001661/0.7171, allocations: 1.021 MB / 1.2 GB, free: 5.953 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7171, allocations: 8 kB / 1.2 GB, free: 5.945 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.7171, allocations: 8.094 kB / 1.2 GB, free: 5.938 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.7175, allocations: 184.7 kB / 1.2 GB, free: 5.754 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.7178, allocations: 145.1 kB / 1.2 GB, free: 5.613 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.72, allocations: 2.086 MB / 1.202 GB, free: 3.434 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.7205, allocations: 52.02 kB / 1.202 GB, free: 3.383 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.7205, allocations: 20 kB / 1.202 GB, free: 3.363 MB / 1.042 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.000369/0.7209, allocations: 278.5 kB / 1.202 GB, free: 3.082 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.721, allocations: 75.53 kB / 1.202 GB, free: 3.008 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.7211, allocations: 86.83 kB / 1.203 GB, free: 2.922 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7211, allocations: 4 kB / 1.203 GB, free: 2.918 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7211, allocations: 4 kB / 1.203 GB, free: 2.914 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/0.7225, allocations: 0.8869 MB / 1.203 GB, free: 1.992 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.7255, allocations: 1.879 MB / 1.205 GB, free: 32 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7255, allocations: 4 kB / 1.205 GB, free: 28 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.7258, allocations: 129.2 kB / 1.205 GB, free: 15.9 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.7261, allocations: 184.7 kB / 1.206 GB, free: 15.72 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.7261, allocations: 19.98 kB / 1.206 GB, free: 15.7 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.728, allocations: 2.033 MB / 1.208 GB, free: 13.57 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.728, allocations: 4 kB / 1.208 GB, free: 13.56 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.73, allocations: 1.402 MB / 1.209 GB, free: 12.1 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.7303, allocations: 143.5 kB / 1.209 GB, free: 11.96 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.7304, allocations: 19.98 kB / 1.209 GB, free: 11.94 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.7308, allocations: 52 kB / 1.209 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.7309, allocations: 39.89 kB / 1.209 GB, free: 11.85 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.7309, allocations: 39.84 kB / 1.209 GB, free: 11.81 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003696/0.7313, allocations: 435 kB / 1.21 GB, free: 11.39 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.7313, allocations: 0 / 1.21 GB, free: 11.39 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000656/0.7319, allocations: 271.9 kB / 1.21 GB, free: 11.12 MB / 1.057 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.0003049/0.7322, allocations: 204.4 kB / 1.21 GB, free: 10.92 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.7334, allocations: 0.7784 MB / 1.211 GB, free: 10.12 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7334, allocations: 0 / 1.211 GB, free: 10.12 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.7339, allocations: 455.4 kB / 1.211 GB, free: 9.668 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.7353, allocations: 430.4 kB / 1.212 GB, free: 9.258 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.7381, allocations: 1.877 MB / 1.214 GB, free: 7.301 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.7384, allocations: 445.9 kB / 1.214 GB, free: 6.84 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.7386, allocations: 64.48 kB / 1.214 GB, free: 6.777 MB / 1.057 GB Notification: Performance of SimCode: time 1.273e-06/0.7386, allocations: 4 kB / 1.214 GB, free: 6.773 MB / 1.057 GB Notification: Performance of Templates: time 0.0167/0.7553, allocations: 17.71 MB / 1.231 GB, free: 5.16 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 9.791826845146716]