Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.809/1.809, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 95.44 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.532e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4242, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.545/5.969, allocations: 1.92 GB / 3.139 GB, free: 338.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.969, allocations: 90.5 kB / 3.139 GB, free: 338.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.625/7.594, allocations: 466.1 MB / 3.594 GB, free: 313.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.222e-06/7.594, allocations: 2.875 kB / 3.594 GB, free: 313.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001348/7.595, allocations: 29.47 kB / 3.594 GB, free: 313.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003872/7.598, allocations: 1.246 MB / 3.595 GB, free: 312.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/7.598, allocations: 7.75 kB / 3.595 GB, free: 312.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/7.601, allocations: 312.5 kB / 3.595 GB, free: 312.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/7.603, allocations: 0.8486 MB / 3.596 GB, free: 312.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/7.603, allocations: 64.06 kB / 3.596 GB, free: 312 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/7.604, allocations: 82.75 kB / 3.596 GB, free: 312 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/7.606, allocations: 0.95 MB / 3.597 GB, free: 311.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/7.606, allocations: 7.375 kB / 3.597 GB, free: 311.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/7.606, allocations: 39.62 kB / 3.597 GB, free: 311.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/7.606, allocations: 31.34 kB / 3.597 GB, free: 311.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/7.607, allocations: 0.7495 MB / 3.598 GB, free: 311.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.005425/7.613, allocations: 3.47 MB / 3.602 GB, free: 309.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/7.613, allocations: 468.8 kB / 3.602 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/7.614, allocations: 258.7 kB / 3.602 GB, free: 308.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/7.614, allocations: 106.2 kB / 3.602 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/7.614, allocations: 46.03 kB / 3.602 GB, free: 308.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 3.456e-06/7.614, allocations: 0 / 3.602 GB, free: 308.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.003521/7.618, allocations: 1.417 MB / 3.604 GB, free: 308 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/7.618, allocations: 62.53 kB / 3.604 GB, free: 307.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/7.619, allocations: 0.6972 MB / 3.605 GB, free: 307.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/7.619, allocations: 37.67 kB / 3.605 GB, free: 307.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/7.619, allocations: 477.7 kB / 3.605 GB, free: 307.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/7.619, allocations: 170.2 kB / 3.605 GB, free: 307.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/7.619, allocations: 8 kB / 3.605 GB, free: 307.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/7.619, allocations: 335.1 kB / 3.605 GB, free: 306.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/7.62, allocations: 211.6 kB / 3.606 GB, free: 306.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/7.62, allocations: 338.8 kB / 3.606 GB, free: 306.5 MB / 1.167 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.002622/7.623, allocations: 0.96 MB / 3.607 GB, free: 306.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/7.623, allocations: 0 / 3.607 GB, free: 306.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001278/7.624, allocations: 0.7434 MB / 3.608 GB, free: 305.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/7.624, allocations: 3.875 kB / 3.608 GB, free: 305.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/7.624, allocations: 7.891 kB / 3.608 GB, free: 305.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/7.624, allocations: 95.16 kB / 3.608 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/7.625, allocations: 124.5 kB / 3.608 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/7.627, allocations: 2.943 MB / 3.611 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/7.628, allocations: 69.89 kB / 3.611 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/7.628, allocations: 19.53 kB / 3.611 GB, free: 303.1 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/7.629, allocations: 141.5 kB / 3.611 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/7.629, allocations: 93.95 kB / 3.611 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/7.629, allocations: 108.9 kB / 3.611 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/7.629, allocations: 7.625 kB / 3.611 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/7.629, allocations: 2.812 kB / 3.611 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009198/7.63, allocations: 0.8076 MB / 3.612 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/7.633, allocations: 1.717 MB / 3.614 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/7.633, allocations: 3.906 kB / 3.614 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/7.633, allocations: 110.4 kB / 3.614 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/7.634, allocations: 63.23 kB / 3.614 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/7.634, allocations: 18.72 kB / 3.614 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/7.635, allocations: 1.601 MB / 3.615 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/7.635, allocations: 7.75 kB / 3.615 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/7.636, allocations: 1.141 MB / 3.617 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/7.637, allocations: 231.1 kB / 3.617 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/7.637, allocations: 11.44 kB / 3.617 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/7.638, allocations: 65.83 kB / 3.617 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/7.638, allocations: 51.62 kB / 3.617 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/7.638, allocations: 26.12 kB / 3.617 GB, free: 298.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007/7.639, allocations: 0.5436 MB / 3.617 GB, free: 298.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.639, allocations: 0 / 3.617 GB, free: 298.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001468/7.64, allocations: 405.1 kB / 3.618 GB, free: 298.6 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002007/7.642, allocations: 1.272 MB / 3.619 GB, free: 298.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001131/7.643, allocations: 0.7421 MB / 3.62 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/7.643, allocations: 0 / 3.62 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/7.644, allocations: 365.9 kB / 3.62 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/7.646, allocations: 0.5804 MB / 3.621 GB, free: 297.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/7.649, allocations: 1.369 MB / 3.622 GB, free: 296.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/7.65, allocations: 1.105 MB / 3.623 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009477/7.65, allocations: 213.4 kB / 3.623 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/7.651, allocations: 64.91 kB / 3.623 GB, free: 296 MB / 1.167 GB Notification: Performance of SimCode: time 9.91e-07/7.651, allocations: 0 / 3.623 GB, free: 296 MB / 1.167 GB Notification: Performance of Templates: time 0.05144/7.702, allocations: 37.24 MB / 3.66 GB, free: 271.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches