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.001412/0.001412, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001556/0.001557, allocations: 196.8 kB / 17.3 MB, free: 5.516 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.357/1.357, 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.539/2.539, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002034, allocations: 60.17 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3041, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.6764/0.9806, allocations: 190.6 MB / 1.205 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.9921, allocations: 5.731 MB / 1.211 GB, free: 60 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.994, allocations: 42.09 kB / 1.211 GB, free: 44 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.9958, allocations: 0.5753 MB / 1.211 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004521/1, allocations: 1.622 MB / 1.213 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/1.004, allocations: 1.222 MB / 1.214 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003494/1.007, allocations: 2.577 MB / 1.216 GB, free: 11.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/1.009, allocations: 0.8678 MB / 1.217 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/1.011, allocations: 1.046 MB / 1.218 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/1.013, allocations: 0.8154 MB / 1.219 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/1.013, allocations: 97.5 kB / 1.219 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/1.016, allocations: 1.541 MB / 1.221 GB, free: 9.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005517/1.017, allocations: 405.2 kB / 1.221 GB, free: 9.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008956/1.018, allocations: 0.5782 MB / 1.222 GB, free: 8.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/1.021, allocations: 2.029 MB / 1.224 GB, free: 7.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.021, allocations: 0 / 1.224 GB, free: 7.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/1.021, allocations: 0 / 1.224 GB, free: 7.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.961e-05/1.021, allocations: 0 / 1.224 GB, free: 7.137 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.002666/1.023, allocations: 1.43 MB / 1.225 GB, free: 5.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/1.023, allocations: 16.88 kB / 1.225 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/1.026, allocations: 414.3 kB / 1.225 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/1.028, allocations: 0.7999 MB / 1.226 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/1.028, allocations: 58 kB / 1.226 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/1.028, allocations: 75.98 kB / 1.226 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/1.03, allocations: 0.9827 MB / 1.227 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.03, allocations: 4 kB / 1.227 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/1.03, allocations: 35.98 kB / 1.227 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/1.03, allocations: 30 kB / 1.227 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/1.032, allocations: 0.8743 MB / 1.228 GB, free: 2.312 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.005929/1.038, allocations: 3.466 MB / 1.232 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.039, allocations: 0.6056 MB / 1.232 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/1.04, allocations: 342.9 kB / 1.233 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/1.04, allocations: 105.4 kB / 1.233 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/1.04, allocations: 43.22 kB / 1.233 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/1.04, allocations: 0 / 1.233 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.007741/1.048, allocations: 2.393 MB / 1.235 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.048, allocations: 55.41 kB / 1.235 GB, free: 11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/1.049, allocations: 0.7941 MB / 1.236 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/1.049, allocations: 33.7 kB / 1.236 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/1.05, allocations: 451.6 kB / 1.236 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.05, allocations: 145.9 kB / 1.236 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.05, allocations: 110.1 kB / 1.237 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.05, allocations: 322 kB / 1.237 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/1.051, allocations: 304.9 kB / 1.237 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/1.052, allocations: 408.1 kB / 1.238 GB, free: 8.406 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.005082/1.057, allocations: 1.871 MB / 1.239 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.057, allocations: 4 kB / 1.239 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003091/1.06, allocations: 1.038 MB / 1.24 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.06, allocations: 8 kB / 1.24 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/1.06, allocations: 7.984 kB / 1.24 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/1.06, allocations: 188.8 kB / 1.241 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/1.061, allocations: 139.8 kB / 1.241 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/1.065, allocations: 2.237 MB / 1.243 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/1.066, allocations: 56 kB / 1.243 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/1.066, allocations: 20 kB / 1.243 GB, free: 2.645 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.0004271/1.066, allocations: 265.7 kB / 1.243 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/1.066, allocations: 98.84 kB / 1.243 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/1.067, allocations: 100.2 kB / 1.243 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/1.067, allocations: 4 kB / 1.243 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.067, allocations: 0 / 1.243 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002722/1.069, allocations: 0.8985 MB / 1.244 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/1.074, allocations: 2.091 MB / 1.246 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.074, allocations: 8.031 kB / 1.246 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/1.075, allocations: 123.8 kB / 1.246 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005608/1.076, allocations: 188.6 kB / 1.247 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/1.076, allocations: 16 kB / 1.247 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/1.079, allocations: 2.187 MB / 1.249 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.079, allocations: 7.938 kB / 1.249 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/1.083, allocations: 1.424 MB / 1.25 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/1.083, allocations: 239.9 kB / 1.25 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.083, allocations: 11.98 kB / 1.25 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/1.084, allocations: 60 kB / 1.25 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/1.084, allocations: 35.84 kB / 1.25 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/1.084, allocations: 31.97 kB / 1.251 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006919/1.085, allocations: 0.5576 MB / 1.251 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.085, allocations: 0 / 1.251 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008676/1.086, allocations: 268 kB / 1.251 GB, free: 9.676 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.0004607/1.086, allocations: 209.2 kB / 1.252 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.088, allocations: 0.8131 MB / 1.252 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.088, allocations: 7.938 kB / 1.252 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/1.089, allocations: 451.5 kB / 1.253 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.091, allocations: 0.5412 MB / 1.253 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/1.096, allocations: 1.891 MB / 1.255 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/1.096, allocations: 1.044 MB / 1.256 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000637/1.097, allocations: 207.2 kB / 1.256 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/1.097, allocations: 67.42 kB / 1.256 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/1.097, allocations: 4 kB / 1.256 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of Templates: time 0.03032/1.127, allocations: 20.63 MB / 1.277 GB, free: 16 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 gbode -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