Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001136/0.001136, allocations: 188.8 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.001034/0.001035, allocations: 95.94 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.235e-05/4.238e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.382/6.702, allocations: 1.919 GB / 3.132 GB, free: 423 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/6.702, allocations: 91.8 kB / 3.132 GB, free: 422.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/8.48, allocations: 466 MB / 3.587 GB, free: 298.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.194e-06/8.48, allocations: 0.9375 kB / 3.587 GB, free: 298.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000146/8.48, allocations: 32.11 kB / 3.587 GB, free: 298.1 MB / 1.151 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.004545/8.485, allocations: 1.246 MB / 3.588 GB, free: 297.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/8.485, allocations: 11.41 kB / 3.588 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/8.489, allocations: 309.4 kB / 3.588 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/8.492, allocations: 0.8409 MB / 3.589 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/8.492, allocations: 63.97 kB / 3.589 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/8.493, allocations: 90.05 kB / 3.589 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/8.496, allocations: 0.9418 MB / 3.59 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/8.496, allocations: 6.188 kB / 3.59 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/8.496, allocations: 40.66 kB / 3.59 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.642e-05/8.496, allocations: 40.56 kB / 3.59 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/8.499, allocations: 0.7498 MB / 3.591 GB, free: 297.2 MB / 1.151 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.009387/8.508, allocations: 3.473 MB / 3.594 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/8.509, allocations: 464.4 kB / 3.595 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/8.51, allocations: 266.1 kB / 3.595 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/8.51, allocations: 104.8 kB / 3.595 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/8.51, allocations: 43.16 kB / 3.595 GB, free: 295.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 5.009e-06/8.51, allocations: 0 / 3.595 GB, free: 295.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.005479/8.516, allocations: 1.413 MB / 3.597 GB, free: 295.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/8.516, allocations: 61.11 kB / 3.597 GB, free: 295.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/8.518, allocations: 0.6996 MB / 3.597 GB, free: 295.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/8.518, allocations: 39.95 kB / 3.597 GB, free: 295.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/8.519, allocations: 480.4 kB / 3.598 GB, free: 294.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/8.519, allocations: 174.2 kB / 3.598 GB, free: 294.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/8.519, allocations: 11.03 kB / 3.598 GB, free: 294.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/8.519, allocations: 328.5 kB / 3.598 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/8.52, allocations: 216.3 kB / 3.599 GB, free: 294.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/8.52, allocations: 335.3 kB / 3.599 GB, free: 294.4 MB / 1.151 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.004711/8.525, allocations: 0.9493 MB / 3.6 GB, free: 294.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/8.525, allocations: 2.656 kB / 3.6 GB, free: 294.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002343/8.527, allocations: 0.7546 MB / 3.601 GB, free: 294.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/8.528, allocations: 5.562 kB / 3.601 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/8.528, allocations: 3.719 kB / 3.601 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/8.528, allocations: 89.52 kB / 3.601 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/8.529, allocations: 132.9 kB / 3.601 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/8.532, allocations: 2.941 MB / 3.604 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/8.534, allocations: 63.39 kB / 3.604 GB, free: 291.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/8.535, allocations: 19.91 kB / 3.604 GB, free: 291.6 MB / 1.151 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.0003694/8.535, allocations: 145.1 kB / 3.604 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/8.536, allocations: 92.75 kB / 3.604 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/8.536, allocations: 102.8 kB / 3.604 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/8.536, allocations: 2.188 kB / 3.604 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/8.536, allocations: 0 / 3.604 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/8.538, allocations: 0.8103 MB / 3.605 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/8.543, allocations: 1.728 MB / 3.607 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/8.543, allocations: 7.688 kB / 3.607 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/8.543, allocations: 116.1 kB / 3.607 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/8.544, allocations: 62.12 kB / 3.607 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/8.544, allocations: 17.55 kB / 3.607 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/8.546, allocations: 1.59 MB / 3.608 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/8.546, allocations: 9.031 kB / 3.608 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/8.548, allocations: 1.151 MB / 3.609 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009806/8.549, allocations: 237.8 kB / 3.61 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/8.55, allocations: 15.22 kB / 3.61 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/8.551, allocations: 61.3 kB / 3.61 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/8.552, allocations: 46.55 kB / 3.61 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/8.552, allocations: 32.11 kB / 3.61 GB, free: 288.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001473/8.553, allocations: 0.543 MB / 3.61 GB, free: 288.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/8.553, allocations: 0 / 3.61 GB, free: 288.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002739/8.556, allocations: 413.4 kB / 3.611 GB, free: 288.6 MB / 1.151 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.003228/8.559, allocations: 1.254 MB / 3.612 GB, free: 288.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001905/8.561, allocations: 0.7377 MB / 3.613 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/8.561, allocations: 2.5 kB / 3.613 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000747/8.562, allocations: 382 kB / 3.613 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/8.567, allocations: 0.5721 MB / 3.614 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/8.571, allocations: 1.374 MB / 3.615 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/8.572, allocations: 1.1 MB / 3.616 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001819/8.574, allocations: 217.6 kB / 3.616 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/8.574, allocations: 63.03 kB / 3.616 GB, free: 286.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.713e-06/8.574, allocations: 0 / 3.616 GB, free: 286.7 MB / 1.151 GB Notification: Performance of Templates: time 0.08843/8.663, allocations: 37.25 MB / 3.653 GB, free: 285.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches