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.0007641/0.0007642, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005374/0.005375, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005407, allocations: 8.75 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3518, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.196/0.5478, allocations: 185.9 MB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.558, allocations: 5.733 MB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.5594, allocations: 39.75 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.5609, allocations: 0.4974 MB / 1.246 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.5652, allocations: 1.533 MB / 1.248 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.5684, allocations: 1.085 MB / 1.249 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7631/1.331, allocations: 3.535 MB / 1.252 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/1.333, allocations: 0.7193 MB / 1.253 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/1.336, allocations: 0.8821 MB / 1.254 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/1.338, allocations: 0.8037 MB / 1.255 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/1.338, allocations: 37.16 kB / 1.255 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/1.341, allocations: 1.717 MB / 1.256 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004796/1.342, allocations: 342.9 kB / 1.257 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007024/1.342, allocations: 0.5443 MB / 1.257 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/1.346, allocations: 2.013 MB / 1.259 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.346, allocations: 0 / 1.259 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.346, allocations: 0 / 1.259 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.211e-05/1.346, allocations: 0 / 1.259 GB, free: 4.652 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.002822/1.349, allocations: 1.236 MB / 1.26 GB, free: 19.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.349, allocations: 9 kB / 1.26 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/1.352, allocations: 442.1 kB / 1.261 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.353, allocations: 0.7557 MB / 1.262 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/1.354, allocations: 125.1 kB / 1.262 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.354, allocations: 81.84 kB / 1.262 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.356, allocations: 1.007 MB / 1.263 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.356, allocations: 1.781 kB / 1.263 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/1.356, allocations: 35.22 kB / 1.263 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/1.356, allocations: 28.84 kB / 1.263 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/1.358, allocations: 0.914 MB / 1.264 GB, free: 19.42 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.0071/1.366, allocations: 3.538 MB / 1.267 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/1.368, allocations: 0.6482 MB / 1.268 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009589/1.369, allocations: 354.7 kB / 1.268 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/1.369, allocations: 97.14 kB / 1.268 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.369, allocations: 39.89 kB / 1.268 GB, free: 17.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.394e-06/1.369, allocations: 0 / 1.268 GB, free: 17.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.009659/1.379, allocations: 2.543 MB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/1.379, allocations: 55.81 kB / 1.271 GB, free: 17.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/1.38, allocations: 0.799 MB / 1.272 GB, free: 17.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.381, allocations: 36.39 kB / 1.272 GB, free: 17.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/1.381, allocations: 443.5 kB / 1.272 GB, free: 16.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/1.381, allocations: 148.2 kB / 1.272 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.381, allocations: 50.09 kB / 1.272 GB, free: 16.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.381, allocations: 324.8 kB / 1.273 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.383, allocations: 326.1 kB / 1.273 GB, free: 16.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/1.383, allocations: 430.2 kB / 1.273 GB, free: 16.36 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.005836/1.389, allocations: 1.982 MB / 1.275 GB, free: 16.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.389, allocations: 1.031 kB / 1.275 GB, free: 16.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003784/1.393, allocations: 1.092 MB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.393, allocations: 9.406 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.393, allocations: 4.375 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/1.394, allocations: 190 kB / 1.276 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/1.395, allocations: 169 kB / 1.277 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/1.399, allocations: 2.119 MB / 1.279 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.4, allocations: 91.2 kB / 1.279 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/1.4, allocations: 22.23 kB / 1.279 GB, free: 14.63 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 sytem: 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.0006982/1.401, allocations: 274.2 kB / 1.279 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.401, allocations: 91.12 kB / 1.279 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/1.401, allocations: 98.62 kB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.401, allocations: 4.125 kB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.401, allocations: 1.375 kB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00307/1.404, allocations: 0.9453 MB / 1.28 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/1.41, allocations: 2.178 MB / 1.282 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.41, allocations: 3.594 kB / 1.282 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/1.41, allocations: 146.1 kB / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005648/1.411, allocations: 199.2 kB / 1.283 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/1.411, allocations: 13.22 kB / 1.283 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/1.414, allocations: 2.066 MB / 1.285 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.415, allocations: 7.938 kB / 1.285 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/1.419, allocations: 1.501 MB / 1.286 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/1.419, allocations: 240 kB / 1.286 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.419, allocations: 9.281 kB / 1.286 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/1.42, allocations: 103.5 kB / 1.286 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.42, allocations: 34.92 kB / 1.287 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.162e-05/1.421, allocations: 29.25 kB / 1.287 GB, free: 11.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000776/1.421, allocations: 0.5561 MB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.421, allocations: 0 / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001073/1.422, allocations: 273.2 kB / 1.287 GB, free: 11.87 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.0005098/1.423, allocations: 220 kB / 1.288 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.425, allocations: 0.8411 MB / 1.288 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.425, allocations: 1.125 kB / 1.288 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/1.426, allocations: 476.1 kB / 1.289 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.429, allocations: 0.518 MB / 1.289 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.434, allocations: 2.325 MB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/1.434, allocations: 1.05 MB / 1.293 GB, free: 9.617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001034/1.435, allocations: 209.8 kB / 1.293 GB, free: 9.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/1.436, allocations: 64.31 kB / 1.293 GB, free: 9.555 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.436, allocations: 1.406 kB / 1.293 GB, free: 9.555 MB / 1.014 GB Notification: Performance of Templates: time 0.03345/1.469, allocations: 19.62 MB / 1.312 GB, free: 6.75 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