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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001495/0.001495, allocations: 106.9 kB / 16.41 MB, free: 6.5 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.001595/0.001595, allocations: 183 kB / 17.34 MB, free: 5.766 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8436, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2065/1.05, allocations: 190.6 MB / 1.353 GB, free: 4.5 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01019/1.06, allocations: 5.728 MB / 1.359 GB, free: 14.76 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/1.062, allocations: 43.75 kB / 1.359 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/1.064, allocations: 0.5981 MB / 1.36 GB, free: 14.12 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004728/1.069, allocations: 1.68 MB / 1.361 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/1.073, allocations: 1.234 MB / 1.363 GB, free: 11.2 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003697/1.076, allocations: 2.57 MB / 1.365 GB, free: 8.625 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.078, allocations: 0.8802 MB / 1.366 GB, free: 7.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/1.08, allocations: 1.094 MB / 1.367 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/1.082, allocations: 0.8063 MB / 1.368 GB, free: 5.832 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/1.082, allocations: 100 kB / 1.368 GB, free: 5.734 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/1.085, allocations: 1.547 MB / 1.369 GB, free: 4.184 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004399/1.085, allocations: 406.9 kB / 1.37 GB, free: 3.785 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/1.086, allocations: 0.5833 MB / 1.37 GB, free: 3.199 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/1.089, allocations: 2.018 MB / 1.372 GB, free: 1.176 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.089, allocations: 0 / 1.372 GB, free: 1.176 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/1.089, allocations: 4 kB / 1.372 GB, free: 1.172 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.722e-05/1.089, allocations: 0 / 1.372 GB, free: 1.172 MB / 1.092 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.002472/1.092, allocations: 1.434 MB / 1.374 GB, free: 15.68 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.092, allocations: 12.58 kB / 1.374 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/1.095, allocations: 410.3 kB / 1.374 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.096, allocations: 0.8078 MB / 1.375 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/1.096, allocations: 54 kB / 1.375 GB, free: 14.37 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/1.096, allocations: 83.91 kB / 1.375 GB, free: 14.29 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/1.098, allocations: 0.9749 MB / 1.376 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/1.098, allocations: 3.984 kB / 1.376 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/1.098, allocations: 39.92 kB / 1.376 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/1.098, allocations: 34 kB / 1.376 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/1.1, allocations: 0.8704 MB / 1.377 GB, free: 12.34 MB / 1.107 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.006373/1.107, allocations: 3.47 MB / 1.38 GB, free: 8.699 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.108, allocations: 0.6086 MB / 1.381 GB, free: 8.082 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/1.109, allocations: 331.2 kB / 1.381 GB, free: 7.758 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.109, allocations: 113.3 kB / 1.381 GB, free: 7.629 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.109, allocations: 39.22 kB / 1.381 GB, free: 7.582 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 2.594e-06/1.109, allocations: 0 / 1.381 GB, free: 7.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=41): time 0.0083/1.118, allocations: 2.386 MB / 1.384 GB, free: 5.117 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.118, allocations: 55.41 kB / 1.384 GB, free: 5.051 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.119, allocations: 0.8018 MB / 1.385 GB, free: 4.238 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/1.119, allocations: 41.64 kB / 1.385 GB, free: 4.191 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/1.119, allocations: 447.7 kB / 1.385 GB, free: 3.746 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.119, allocations: 141.9 kB / 1.385 GB, free: 3.605 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.119, allocations: 106.1 kB / 1.385 GB, free: 3.496 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.12, allocations: 334 kB / 1.386 GB, free: 3.164 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/1.12, allocations: 296.9 kB / 1.386 GB, free: 2.871 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/1.121, allocations: 412.1 kB / 1.386 GB, free: 2.438 MB / 1.107 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.00514/1.126, allocations: 1.878 MB / 1.388 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.126, allocations: 0 / 1.388 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003248/1.13, allocations: 1.035 MB / 1.389 GB, free: 15.46 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/1.13, allocations: 8 kB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.13, allocations: 0 / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/1.13, allocations: 188.7 kB / 1.389 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/1.131, allocations: 143.8 kB / 1.389 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004047/1.135, allocations: 2.232 MB / 1.392 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.136, allocations: 52.02 kB / 1.392 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/1.136, allocations: 27.92 kB / 1.392 GB, free: 12.67 MB / 1.123 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.0005591/1.137, allocations: 265.7 kB / 1.392 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.137, allocations: 90.91 kB / 1.392 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/1.137, allocations: 100.2 kB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.137, allocations: 4 kB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.137, allocations: 0 / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002903/1.14, allocations: 0.9025 MB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/1.146, allocations: 2.094 MB / 1.395 GB, free: 9.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.146, allocations: 4 kB / 1.395 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/1.146, allocations: 136.1 kB / 1.395 GB, free: 8.941 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005503/1.147, allocations: 192.6 kB / 1.395 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/1.147, allocations: 19.92 kB / 1.395 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/1.151, allocations: 2.183 MB / 1.397 GB, free: 6.402 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.151, allocations: 7.984 kB / 1.397 GB, free: 6.395 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/1.155, allocations: 1.409 MB / 1.399 GB, free: 4.926 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/1.156, allocations: 236 kB / 1.399 GB, free: 4.676 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.156, allocations: 12 kB / 1.399 GB, free: 4.664 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/1.157, allocations: 63.5 kB / 1.399 GB, free: 4.605 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.157, allocations: 43.83 kB / 1.399 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/1.157, allocations: 23.98 kB / 1.399 GB, free: 4.539 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008431/1.158, allocations: 0.5536 MB / 1.4 GB, free: 3.988 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.158, allocations: 0 / 1.4 GB, free: 3.988 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001024/1.159, allocations: 276 kB / 1.4 GB, free: 3.719 MB / 1.123 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.0006219/1.159, allocations: 209.5 kB / 1.4 GB, free: 3.516 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002116/1.162, allocations: 0.802 MB / 1.401 GB, free: 2.703 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.162, allocations: 4 kB / 1.401 GB, free: 2.699 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/1.163, allocations: 455.2 kB / 1.401 GB, free: 2.242 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.165, allocations: 0.5506 MB / 1.402 GB, free: 1.699 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/1.17, allocations: 1.96 MB / 1.404 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/1.17, allocations: 1.04 MB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/1.171, allocations: 71.42 kB / 1.405 GB, free: 14.53 MB / 1.139 GB Notification: Performance of SimCode: time 9.61e-07/1.171, allocations: 0 / 1.405 GB, free: 14.53 MB / 1.139 GB Notification: Performance of Templates: time 0.02589/1.196, allocations: 18.97 MB / 1.424 GB, free: 11.7 MB / 1.154 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 -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