Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 104 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 191.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.09 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3277, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.861/1.189, allocations: 190.6 MB / 1.205 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01089/1.2, allocations: 5.741 MB / 1.211 GB, free: 112 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/1.203, allocations: 36 kB / 1.211 GB, free: 100 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/1.206, allocations: 0.579 MB / 1.211 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005732/1.211, allocations: 1.626 MB / 1.213 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/1.215, allocations: 1.213 MB / 1.214 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003865/1.219, allocations: 2.572 MB / 1.216 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/1.22, allocations: 0.8759 MB / 1.217 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/1.222, allocations: 1.048 MB / 1.218 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/1.224, allocations: 0.8182 MB / 1.219 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/1.224, allocations: 97.59 kB / 1.219 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/1.228, allocations: 1.541 MB / 1.221 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004933/1.228, allocations: 404.4 kB / 1.221 GB, free: 9.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/1.229, allocations: 0.5889 MB / 1.222 GB, free: 8.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/1.233, allocations: 2.007 MB / 1.224 GB, free: 7.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.233, allocations: 4 kB / 1.224 GB, free: 7.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.033e-06/1.233, allocations: 0 / 1.224 GB, free: 7.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.195e-05/1.233, allocations: 3.984 kB / 1.224 GB, free: 7.176 MB / 0.92 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.002688/1.236, allocations: 1.43 MB / 1.225 GB, free: 5.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.236, allocations: 16.88 kB / 1.225 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/1.239, allocations: 422.3 kB / 1.225 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/1.241, allocations: 0.7921 MB / 1.226 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/1.241, allocations: 62 kB / 1.226 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/1.241, allocations: 75.94 kB / 1.226 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.243, allocations: 0.9866 MB / 1.227 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.243, allocations: 0 / 1.227 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/1.243, allocations: 32 kB / 1.227 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/1.244, allocations: 30 kB / 1.227 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/1.246, allocations: 0.8743 MB / 1.228 GB, free: 2.352 MB / 0.92 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.007078/1.253, allocations: 3.474 MB / 1.232 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.254, allocations: 0.6056 MB / 1.232 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/1.255, allocations: 333.3 kB / 1.232 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/1.255, allocations: 101.4 kB / 1.233 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.255, allocations: 39.22 kB / 1.233 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 4.839e-06/1.255, allocations: 0 / 1.233 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.008033/1.263, allocations: 2.397 MB / 1.235 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/1.264, allocations: 55.41 kB / 1.235 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.265, allocations: 0.7941 MB / 1.236 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/1.265, allocations: 37.7 kB / 1.236 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/1.265, allocations: 459.6 kB / 1.236 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.265, allocations: 145.9 kB / 1.236 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/1.266, allocations: 106.1 kB / 1.237 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.266, allocations: 322 kB / 1.237 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/1.267, allocations: 304.9 kB / 1.237 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/1.267, allocations: 408.1 kB / 1.238 GB, free: 8.441 MB / 0.9356 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.005246/1.273, allocations: 1.879 MB / 1.239 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.273, allocations: 4 kB / 1.239 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003171/1.276, allocations: 1.034 MB / 1.24 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.276, allocations: 8 kB / 1.24 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.276, allocations: 4 kB / 1.24 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/1.276, allocations: 188.8 kB / 1.241 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/1.277, allocations: 143.8 kB / 1.241 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/1.281, allocations: 2.231 MB / 1.243 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.282, allocations: 56 kB / 1.243 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/1.282, allocations: 20 kB / 1.243 GB, free: 2.688 MB / 0.9356 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.0004825/1.283, allocations: 271.6 kB / 1.243 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.283, allocations: 90.91 kB / 1.243 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/1.283, allocations: 104.2 kB / 1.243 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.283, allocations: 7.984 kB / 1.243 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.283, allocations: 0 / 1.243 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002727/1.286, allocations: 0.8986 MB / 1.244 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/1.291, allocations: 2.098 MB / 1.246 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.291, allocations: 4 kB / 1.246 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.292, allocations: 123.8 kB / 1.246 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/1.292, allocations: 184.8 kB / 1.247 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/1.292, allocations: 15.98 kB / 1.247 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/1.296, allocations: 2.191 MB / 1.249 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.296, allocations: 7.938 kB / 1.249 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/1.3, allocations: 1.421 MB / 1.25 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006965/1.301, allocations: 239.9 kB / 1.25 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.301, allocations: 11.98 kB / 1.25 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/1.302, allocations: 62.14 kB / 1.25 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.302, allocations: 39.83 kB / 1.25 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/1.302, allocations: 39.97 kB / 1.251 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007981/1.303, allocations: 0.5498 MB / 1.251 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/1.303, allocations: 0 / 1.251 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009302/1.304, allocations: 272 kB / 1.251 GB, free: 9.707 MB / 0.9512 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.0005892/1.305, allocations: 193.9 kB / 1.252 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002069/1.307, allocations: 0.8093 MB / 1.252 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.307, allocations: 3.938 kB / 1.252 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000914/1.308, allocations: 463.4 kB / 1.253 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.31, allocations: 0.5392 MB / 1.253 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/1.314, allocations: 1.9 MB / 1.255 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/1.315, allocations: 1.04 MB / 1.256 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007438/1.316, allocations: 207.2 kB / 1.256 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/1.316, allocations: 67.44 kB / 1.256 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of SimCode: time 7.81e-07/1.316, allocations: 0 / 1.256 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of Templates: time 0.03228/1.348, allocations: 20.64 MB / 1.277 GB, free: 44 kB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches