Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00128/0.00128, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001209/0.001209, allocations: 187 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.367/1.367, 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 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 67.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2497/1.282, allocations: 190.6 MB / 1.275 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009368/1.292, allocations: 5.735 MB / 1.28 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/1.294, allocations: 39.75 kB / 1.28 GB, free: 9.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/1.295, allocations: 0.6059 MB / 1.281 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/1.3, allocations: 1.68 MB / 1.283 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003339/1.304, allocations: 1.225 MB / 1.284 GB, free: 5.926 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003698/1.307, allocations: 2.577 MB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.309, allocations: 0.8823 MB / 1.287 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/1.311, allocations: 1.086 MB / 1.288 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/1.312, allocations: 0.8056 MB / 1.289 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/1.312, allocations: 96 kB / 1.289 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/1.315, allocations: 1.551 MB / 1.291 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/1.316, allocations: 402.9 kB / 1.291 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006186/1.316, allocations: 0.5872 MB / 1.292 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/1.319, allocations: 2.018 MB / 1.294 GB, free: 11.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.319, allocations: 7.938 kB / 1.294 GB, free: 11.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.063e-06/1.319, allocations: 0 / 1.294 GB, free: 11.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.319, allocations: 0 / 1.294 GB, free: 11.89 MB / 1.029 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.002481/1.322, allocations: 1.422 MB / 1.295 GB, free: 10.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.322, allocations: 16.03 kB / 1.295 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/1.324, allocations: 422.3 kB / 1.295 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.326, allocations: 0.7999 MB / 1.296 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/1.326, allocations: 58 kB / 1.296 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/1.326, allocations: 72 kB / 1.296 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/1.328, allocations: 0.9866 MB / 1.297 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/1.328, allocations: 0 / 1.297 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/1.328, allocations: 32 kB / 1.297 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/1.328, allocations: 33.98 kB / 1.297 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/1.33, allocations: 0.8743 MB / 1.298 GB, free: 7.074 MB / 1.029 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.005776/1.336, allocations: 3.481 MB / 1.302 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/1.337, allocations: 0.6075 MB / 1.302 GB, free: 2.793 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/1.338, allocations: 333.3 kB / 1.303 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/1.338, allocations: 97.42 kB / 1.303 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.338, allocations: 39.22 kB / 1.303 GB, free: 2.305 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.464e-06/1.338, allocations: 0 / 1.303 GB, free: 2.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.007837/1.346, allocations: 2.396 MB / 1.305 GB, free: 15.83 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.346, allocations: 55.41 kB / 1.305 GB, free: 15.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.347, allocations: 0.7901 MB / 1.306 GB, free: 14.96 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/1.347, allocations: 41.7 kB / 1.306 GB, free: 14.92 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/1.348, allocations: 451.6 kB / 1.306 GB, free: 14.47 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/1.348, allocations: 145.9 kB / 1.306 GB, free: 14.33 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/1.348, allocations: 110 kB / 1.307 GB, free: 14.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.348, allocations: 322 kB / 1.307 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/1.349, allocations: 304.9 kB / 1.307 GB, free: 13.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/1.35, allocations: 412.1 kB / 1.308 GB, free: 13.16 MB / 1.045 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.005141/1.355, allocations: 1.879 MB / 1.309 GB, free: 11.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.355, allocations: 4 kB / 1.309 GB, free: 11.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003144/1.358, allocations: 1.031 MB / 1.31 GB, free: 10.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.358, allocations: 8 kB / 1.31 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.358, allocations: 4 kB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/1.359, allocations: 192.8 kB / 1.311 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.359, allocations: 143.8 kB / 1.311 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/1.363, allocations: 2.236 MB / 1.313 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/1.364, allocations: 47.94 kB / 1.313 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/1.364, allocations: 20 kB / 1.313 GB, free: 7.395 MB / 1.045 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.0005169/1.365, allocations: 277.6 kB / 1.313 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.365, allocations: 94.91 kB / 1.313 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/1.365, allocations: 96.22 kB / 1.313 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.365, allocations: 4 kB / 1.313 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.365, allocations: 0 / 1.313 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0027/1.368, allocations: 0.8949 MB / 1.314 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/1.373, allocations: 2.098 MB / 1.316 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.373, allocations: 4 kB / 1.316 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/1.374, allocations: 128 kB / 1.316 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/1.374, allocations: 184.7 kB / 1.317 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/1.374, allocations: 12 kB / 1.317 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/1.378, allocations: 2.191 MB / 1.319 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.378, allocations: 7.938 kB / 1.319 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/1.382, allocations: 1.409 MB / 1.32 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/1.382, allocations: 239.9 kB / 1.32 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.382, allocations: 15.98 kB / 1.32 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/1.383, allocations: 57.97 kB / 1.32 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.383, allocations: 43.84 kB / 1.32 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/1.383, allocations: 31.97 kB / 1.321 GB, free: 15.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007383/1.384, allocations: 0.5537 MB / 1.321 GB, free: 14.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.51e-07/1.384, allocations: 0 / 1.321 GB, free: 14.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009568/1.385, allocations: 275.9 kB / 1.321 GB, free: 14.43 MB / 1.061 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.0005702/1.385, allocations: 216.6 kB / 1.322 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002035/1.388, allocations: 0.8129 MB / 1.322 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.388, allocations: 0 / 1.322 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009333/1.388, allocations: 463.6 kB / 1.323 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.391, allocations: 0.5331 MB / 1.323 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/1.395, allocations: 1.948 MB / 1.325 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/1.396, allocations: 1.048 MB / 1.326 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/1.396, allocations: 67.42 kB / 1.326 GB, free: 9.242 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/1.396, allocations: 4 kB / 1.326 GB, free: 9.238 MB / 1.061 GB Notification: Performance of Templates: time 0.02657/1.423, allocations: 18.98 MB / 1.345 GB, free: 6.406 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches