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.00605/0.00605, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001418/0.001418, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.373/2.373, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.84 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3468, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 1.04/1.387, allocations: 190.6 MB / 1.274 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01008/1.397, allocations: 5.729 MB / 1.28 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/1.399, allocations: 43.44 kB / 1.28 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/1.4, allocations: 0.5974 MB / 1.28 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/1.405, allocations: 1.681 MB / 1.282 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/1.409, allocations: 1.227 MB / 1.283 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004606/1.414, allocations: 2.573 MB / 1.286 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/1.415, allocations: 0.8806 MB / 1.287 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/1.418, allocations: 1.087 MB / 1.288 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/1.421, allocations: 0.8084 MB / 1.288 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/1.421, allocations: 99.66 kB / 1.288 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/1.425, allocations: 1.547 MB / 1.29 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/1.425, allocations: 403.8 kB / 1.29 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009535/1.426, allocations: 0.5874 MB / 1.291 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/1.43, allocations: 2.024 MB / 1.293 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.43, allocations: 0.6562 kB / 1.293 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/1.43, allocations: 0 / 1.293 GB, free: 3.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.513e-05/1.43, allocations: 2.375 kB / 1.293 GB, free: 3.102 MB / 1.014 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.002854/1.433, allocations: 1.468 MB / 1.294 GB, free: 2.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.433, allocations: 9.344 kB / 1.294 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/1.436, allocations: 426.9 kB / 1.295 GB, free: 2.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.438, allocations: 0.8115 MB / 1.296 GB, free: 1.914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/1.438, allocations: 57.41 kB / 1.296 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.438, allocations: 70.75 kB / 1.296 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/1.44, allocations: 0.9799 MB / 1.297 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.44, allocations: 4.797 kB / 1.297 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/1.44, allocations: 32.69 kB / 1.297 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/1.441, allocations: 29.61 kB / 1.297 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/1.443, allocations: 0.8759 MB / 1.298 GB, free: 1.805 MB / 1.014 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.00667/1.449, allocations: 3.487 MB / 1.301 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/1.452, allocations: 0.6029 MB / 1.302 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/1.453, allocations: 333.6 kB / 1.302 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/1.453, allocations: 101.4 kB / 1.302 GB, free: 16.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/1.453, allocations: 43.66 kB / 1.302 GB, free: 16.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 4.839e-06/1.453, allocations: 0 / 1.302 GB, free: 16.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.013/1.466, allocations: 2.408 MB / 1.304 GB, free: 15.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/1.466, allocations: 58.59 kB / 1.304 GB, free: 15.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.468, allocations: 0.7955 MB / 1.305 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.468, allocations: 36.64 kB / 1.305 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/1.469, allocations: 456.2 kB / 1.306 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.469, allocations: 150.8 kB / 1.306 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/1.469, allocations: 106.1 kB / 1.306 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.469, allocations: 325.7 kB / 1.306 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.471, allocations: 308.1 kB / 1.307 GB, free: 14.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/1.472, allocations: 410.1 kB / 1.307 GB, free: 14.82 MB / 1.029 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.009767/1.482, allocations: 1.872 MB / 1.309 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.482, allocations: 1 kB / 1.309 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.005928/1.488, allocations: 1.055 MB / 1.31 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.488, allocations: 6.719 kB / 1.31 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.488, allocations: 2.281 kB / 1.31 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009913/1.489, allocations: 187.9 kB / 1.31 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.491, allocations: 145.2 kB / 1.31 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006938/1.498, allocations: 2.229 MB / 1.312 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.499, allocations: 52.48 kB / 1.312 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.5, allocations: 23.16 kB / 1.312 GB, free: 13.08 MB / 1.029 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.0008512/1.5, allocations: 274.8 kB / 1.313 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004106/1.501, allocations: 97.06 kB / 1.313 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/1.501, allocations: 94.89 kB / 1.313 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.501, allocations: 4 kB / 1.313 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.501, allocations: 7.938 kB / 1.313 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005014/1.506, allocations: 0.8878 MB / 1.314 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00989/1.516, allocations: 2.11 MB / 1.316 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.516, allocations: 7.094 kB / 1.316 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.517, allocations: 127.4 kB / 1.316 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.519, allocations: 177.2 kB / 1.316 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/1.519, allocations: 20.53 kB / 1.316 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00685/1.526, allocations: 2.197 MB / 1.318 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.526, allocations: 4.125 kB / 1.318 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/1.533, allocations: 1.421 MB / 1.32 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.535, allocations: 241.6 kB / 1.32 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/1.535, allocations: 11.12 kB / 1.32 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.537, allocations: 61.88 kB / 1.32 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.537, allocations: 38.97 kB / 1.32 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.538, allocations: 29.62 kB / 1.32 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001563/1.539, allocations: 0.5514 MB / 1.32 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.81e-07/1.539, allocations: 0 / 1.32 GB, free: 10.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001925/1.541, allocations: 273.5 kB / 1.321 GB, free: 10.25 MB / 1.029 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.0007624/1.542, allocations: 214.7 kB / 1.321 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.546, allocations: 0.8073 MB / 1.322 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.546, allocations: 6.5 kB / 1.322 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.547, allocations: 457.9 kB / 1.322 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.552, allocations: 0.5611 MB / 1.323 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/1.56, allocations: 1.918 MB / 1.325 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009162/1.561, allocations: 1.046 MB / 1.326 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001313/1.562, allocations: 201.7 kB / 1.326 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.563, allocations: 69.97 kB / 1.326 GB, free: 8.18 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/1.563, allocations: 0 / 1.326 GB, free: 8.18 MB / 1.029 GB Notification: Performance of Templates: time 0.05354/1.616, allocations: 20.78 MB / 1.346 GB, free: 2.785 MB / 1.029 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