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.008911/0.008911, allocations: 101.8 kB / 15.73 MB, free: 6 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.001805/0.001805, allocations: 197.9 kB / 16.68 MB, free: 5.926 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.202/2.202, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002088, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.243/1.295, allocations: 190.6 MB / 1.274 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.306, allocations: 5.724 MB / 1.28 GB, free: 9.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/1.307, allocations: 43.75 kB / 1.28 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/1.309, allocations: 0.5786 MB / 1.28 GB, free: 8.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/1.313, allocations: 1.621 MB / 1.282 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/1.317, allocations: 1.216 MB / 1.283 GB, free: 5.859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003178/1.32, allocations: 2.575 MB / 1.286 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/1.321, allocations: 0.884 MB / 1.286 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/1.323, allocations: 1.059 MB / 1.287 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/1.324, allocations: 0.8102 MB / 1.288 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/1.324, allocations: 96 kB / 1.288 GB, free: 440 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/1.327, allocations: 1.543 MB / 1.29 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/1.328, allocations: 402.9 kB / 1.29 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008455/1.328, allocations: 0.5832 MB / 1.291 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/1.332, allocations: 2.022 MB / 1.293 GB, free: 11.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.332, allocations: 0 / 1.293 GB, free: 11.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/1.332, allocations: 0 / 1.293 GB, free: 11.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.332, allocations: 4 kB / 1.293 GB, free: 11.87 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.002385/1.334, allocations: 1.43 MB / 1.294 GB, free: 10.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.334, allocations: 8.031 kB / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/1.337, allocations: 410.3 kB / 1.295 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.338, allocations: 0.8038 MB / 1.295 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/1.338, allocations: 58 kB / 1.295 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.338, allocations: 76 kB / 1.296 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/1.34, allocations: 0.9865 MB / 1.296 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/1.34, allocations: 0 / 1.296 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/1.34, allocations: 35.98 kB / 1.296 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.34, allocations: 33.98 kB / 1.297 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/1.342, allocations: 0.8705 MB / 1.297 GB, free: 7.055 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.005621/1.348, allocations: 3.485 MB / 1.301 GB, free: 3.383 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.349, allocations: 0.6086 MB / 1.301 GB, free: 2.766 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/1.35, allocations: 325.3 kB / 1.302 GB, free: 2.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/1.35, allocations: 105.4 kB / 1.302 GB, free: 2.324 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.35, allocations: 47.2 kB / 1.302 GB, free: 2.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/1.35, allocations: 0 / 1.302 GB, free: 2.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.007525/1.358, allocations: 2.388 MB / 1.304 GB, free: 15.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.358, allocations: 59.41 kB / 1.304 GB, free: 15.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.359, allocations: 0.7979 MB / 1.305 GB, free: 14.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/1.359, allocations: 29.7 kB / 1.305 GB, free: 14.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/1.359, allocations: 451.7 kB / 1.305 GB, free: 14.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/1.359, allocations: 145.9 kB / 1.306 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/1.36, allocations: 106.1 kB / 1.306 GB, free: 14.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.36, allocations: 334 kB / 1.306 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/1.361, allocations: 296.9 kB / 1.306 GB, free: 13.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/1.361, allocations: 408.1 kB / 1.307 GB, free: 13.13 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.00504/1.366, allocations: 1.879 MB / 1.309 GB, free: 11.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.366, allocations: 0 / 1.309 GB, free: 11.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003033/1.369, allocations: 1.042 MB / 1.31 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.369, allocations: 8 kB / 1.31 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/1.37, allocations: 0 / 1.31 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/1.37, allocations: 188.8 kB / 1.31 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/1.371, allocations: 147.8 kB / 1.31 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/1.375, allocations: 2.225 MB / 1.312 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/1.376, allocations: 51.95 kB / 1.312 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/1.376, allocations: 23.98 kB / 1.312 GB, free: 7.367 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.0004927/1.376, allocations: 273.6 kB / 1.312 GB, free: 7.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.376, allocations: 94.84 kB / 1.312 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/1.377, allocations: 92.25 kB / 1.313 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.377, allocations: 11.98 kB / 1.313 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.377, allocations: 0 / 1.313 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002745/1.379, allocations: 0.8949 MB / 1.313 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005234/1.385, allocations: 2.098 MB / 1.315 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.385, allocations: 0 / 1.315 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/1.385, allocations: 128.2 kB / 1.316 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/1.386, allocations: 192.7 kB / 1.316 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/1.386, allocations: 16 kB / 1.316 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/1.39, allocations: 2.187 MB / 1.318 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.39, allocations: 4 kB / 1.318 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/1.394, allocations: 1.413 MB / 1.319 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.394, allocations: 243.8 kB / 1.32 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.394, allocations: 12 kB / 1.32 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/1.395, allocations: 62.19 kB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.395, allocations: 35.89 kB / 1.32 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.396, allocations: 27.98 kB / 1.32 GB, free: 15.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001182/1.397, allocations: 0.5536 MB / 1.32 GB, free: 14.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.71e-07/1.397, allocations: 0 / 1.32 GB, free: 14.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001577/1.398, allocations: 276 kB / 1.321 GB, free: 14.41 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.0009567/1.399, allocations: 222.4 kB / 1.321 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002282/1.402, allocations: 0.8017 MB / 1.321 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.402, allocations: 8 kB / 1.322 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009392/1.403, allocations: 455.1 kB / 1.322 GB, free: 12.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.405, allocations: 0.5465 MB / 1.322 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/1.41, allocations: 1.88 MB / 1.324 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/1.411, allocations: 1.052 MB / 1.325 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008524/1.411, allocations: 207.2 kB / 1.326 GB, free: 9.141 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.412, allocations: 63.42 kB / 1.326 GB, free: 9.078 MB / 1.061 GB Notification: Performance of SimCode: time 2.485e-06/1.412, allocations: 3.938 kB / 1.326 GB, free: 9.074 MB / 1.061 GB Notification: Performance of Templates: time 0.03593/1.448, allocations: 21.16 MB / 1.346 GB, free: 4.223 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches