Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001236/0.001237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00212/0.00212, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.03 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1983/0.5248, allocations: 188.1 MB / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009799/0.5346, allocations: 5.693 MB / 1.242 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.5364, allocations: 39.75 kB / 1.242 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.5384, allocations: 0.5131 MB / 1.242 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.5433, allocations: 1.529 MB / 1.244 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.547, allocations: 1.098 MB / 1.245 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003897/0.5509, allocations: 2.569 MB / 1.247 GB, free: 412 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6762/1.227, allocations: 0.8432 MB / 1.248 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/1.23, allocations: 1.053 MB / 1.249 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/1.231, allocations: 0.8597 MB / 1.25 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002056/1.231, allocations: 96.25 kB / 1.25 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/1.234, allocations: 1.611 MB / 1.252 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/1.235, allocations: 409.7 kB / 1.252 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000609/1.235, allocations: 0.5848 MB / 1.252 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/1.238, allocations: 2.092 MB / 1.255 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.238, allocations: 0.6562 kB / 1.255 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/1.238, allocations: 0 / 1.255 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.983e-05/1.238, allocations: 0.5 kB / 1.255 GB, free: 4.391 MB / 0.9981 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.002419/1.24, allocations: 1.437 MB / 1.256 GB, free: 19.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.24, allocations: 10.39 kB / 1.256 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/1.243, allocations: 417.9 kB / 1.256 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.244, allocations: 0.7612 MB / 1.257 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/1.245, allocations: 113.9 kB / 1.257 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.245, allocations: 72.44 kB / 1.257 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.247, allocations: 0.993 MB / 1.258 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.247, allocations: 5.438 kB / 1.258 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/1.247, allocations: 34.14 kB / 1.258 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/1.247, allocations: 29.84 kB / 1.258 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/1.249, allocations: 0.8825 MB / 1.259 GB, free: 19.17 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.005753/1.254, allocations: 3.508 MB / 1.263 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/1.256, allocations: 0.6205 MB / 1.263 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/1.257, allocations: 338.1 kB / 1.264 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.257, allocations: 100.4 kB / 1.264 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.257, allocations: 43.69 kB / 1.264 GB, free: 17.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/1.257, allocations: 0 / 1.264 GB, free: 17.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.008648/1.266, allocations: 2.417 MB / 1.266 GB, free: 17.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.266, allocations: 58.91 kB / 1.266 GB, free: 17.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.267, allocations: 0.799 MB / 1.267 GB, free: 16.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/1.267, allocations: 37.67 kB / 1.267 GB, free: 16.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.268, allocations: 451.2 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.268, allocations: 143.2 kB / 1.267 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.268, allocations: 111.8 kB / 1.268 GB, free: 16.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.268, allocations: 325.1 kB / 1.268 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/1.269, allocations: 308.8 kB / 1.268 GB, free: 16.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/1.27, allocations: 412.3 kB / 1.269 GB, free: 16.24 MB / 1.014 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.006064/1.276, allocations: 1.901 MB / 1.27 GB, free: 16.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.276, allocations: 0.9688 kB / 1.27 GB, free: 16.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003282/1.279, allocations: 1.049 MB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.279, allocations: 7.438 kB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.279, allocations: 3.031 kB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/1.28, allocations: 184.9 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/1.281, allocations: 155.8 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/1.285, allocations: 2.244 MB / 1.274 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.286, allocations: 83.42 kB / 1.274 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.286, allocations: 24.78 kB / 1.274 GB, free: 14.57 MB / 1.014 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.0005204/1.287, allocations: 273.1 kB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/1.287, allocations: 90.25 kB / 1.274 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/1.287, allocations: 96.8 kB / 1.274 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.287, allocations: 5.484 kB / 1.275 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.287, allocations: 0.8438 kB / 1.275 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002801/1.29, allocations: 0.9055 MB / 1.275 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/1.295, allocations: 2.121 MB / 1.277 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.295, allocations: 2.531 kB / 1.277 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/1.295, allocations: 125 kB / 1.278 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/1.296, allocations: 189.7 kB / 1.278 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/1.296, allocations: 19.17 kB / 1.278 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/1.299, allocations: 2.185 MB / 1.28 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.3, allocations: 10.97 kB / 1.28 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/1.303, allocations: 1.438 MB / 1.281 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/1.304, allocations: 237.4 kB / 1.282 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.304, allocations: 11.88 kB / 1.282 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008897/1.305, allocations: 83.7 kB / 1.282 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.305, allocations: 48 kB / 1.282 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/1.305, allocations: 28.47 kB / 1.282 GB, free: 11.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007274/1.306, allocations: 0.5525 MB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.306, allocations: 1.094 kB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001/1.307, allocations: 275.9 kB / 1.283 GB, free: 11.83 MB / 1.014 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.000509/1.307, allocations: 215.4 kB / 1.283 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.309, allocations: 0.8474 MB / 1.284 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.309, allocations: 1.094 kB / 1.284 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008837/1.31, allocations: 465.3 kB / 1.284 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/1.312, allocations: 0.5486 MB / 1.285 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/1.317, allocations: 2.236 MB / 1.287 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/1.317, allocations: 1.042 MB / 1.288 GB, free: 9.551 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008061/1.318, allocations: 218.4 kB / 1.288 GB, free: 9.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/1.318, allocations: 65.53 kB / 1.288 GB, free: 9.48 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.318, allocations: 0 / 1.288 GB, free: 9.48 MB / 1.014 GB Notification: Performance of Templates: time 0.04671/1.365, allocations: 20.5 MB / 1.308 GB, free: 8.004 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches