Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001382, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001402/0.001402, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 482.4 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 61.62 kB / 0.9233 GB, free: 29.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2804, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1878/0.4683, allocations: 168.8 MB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5203/0.9886, allocations: 4.267 MB / 1.251 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.9895, allocations: 18.38 kB / 1.251 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.9904, allocations: 312.2 kB / 1.251 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.9931, allocations: 1.149 MB / 1.252 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.9949, allocations: 0.7249 MB / 1.253 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.9974, allocations: 1.696 MB / 1.255 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009228/0.9983, allocations: 0.5458 MB / 1.255 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.9999, allocations: 0.7407 MB / 1.256 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/1.001, allocations: 0.584 MB / 1.256 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/1.001, allocations: 64.78 kB / 1.256 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/1.003, allocations: 0.8418 MB / 1.257 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/1.003, allocations: 270.1 kB / 1.258 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/1.004, allocations: 407.7 kB / 1.258 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/1.006, allocations: 1.315 MB / 1.259 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.006, allocations: 2.125 kB / 1.259 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.006, allocations: 0 / 1.259 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.006, allocations: 2.234 kB / 1.259 GB, free: 7.617 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002128/1.008, allocations: 1.044 MB / 1.26 GB, free: 23.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.008, allocations: 8.438 kB / 1.26 GB, free: 23.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.009, allocations: 164.3 kB / 1.26 GB, free: 22.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/1.01, allocations: 0.5186 MB / 1.261 GB, free: 22.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/1.01, allocations: 39.72 kB / 1.261 GB, free: 22.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/1.01, allocations: 54.09 kB / 1.261 GB, free: 22.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.011, allocations: 0.6508 MB / 1.262 GB, free: 22.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.011, allocations: 0.7188 kB / 1.262 GB, free: 22.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/1.011, allocations: 28.72 kB / 1.262 GB, free: 22.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/1.011, allocations: 24.5 kB / 1.262 GB, free: 22.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/1.012, allocations: 0.5131 MB / 1.262 GB, free: 22.64 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.003299/1.016, allocations: 2.31 MB / 1.264 GB, free: 21.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/1.016, allocations: 251 kB / 1.265 GB, free: 21.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/1.016, allocations: 137.1 kB / 1.265 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/1.016, allocations: 4.672 kB / 1.265 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.016, allocations: 42.67 kB / 1.265 GB, free: 21.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/1.016, allocations: 0.8125 kB / 1.265 GB, free: 21.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001594/1.018, allocations: 0.6789 MB / 1.266 GB, free: 21.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/1.018, allocations: 80.3 kB / 1.266 GB, free: 21.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/1.019, allocations: 0.555 MB / 1.266 GB, free: 21.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/1.019, allocations: 33.11 kB / 1.266 GB, free: 21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/1.019, allocations: 332.4 kB / 1.266 GB, free: 20.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/1.019, allocations: 70.36 kB / 1.267 GB, free: 20.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.019, allocations: 69.66 kB / 1.267 GB, free: 20.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.019, allocations: 361.4 kB / 1.267 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/1.019, allocations: 135.7 kB / 1.267 GB, free: 20.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/1.02, allocations: 216.6 kB / 1.267 GB, free: 20.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/1.02, allocations: 335.4 kB / 1.268 GB, free: 20.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.02, allocations: 0.875 kB / 1.268 GB, free: 20.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000853/1.021, allocations: 0.4914 MB / 1.268 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.021, allocations: 8.438 kB / 1.268 GB, free: 20.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.021, allocations: 1.688 kB / 1.268 GB, free: 20.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/1.021, allocations: 94.58 kB / 1.268 GB, free: 20.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/1.022, allocations: 70.58 kB / 1.268 GB, free: 20.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/1.025, allocations: 3.356 MB / 1.272 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/1.025, allocations: 63.08 kB / 1.272 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/1.025, allocations: 15.73 kB / 1.272 GB, free: 17.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003129/1.026, allocations: 219.1 kB / 1.272 GB, free: 17.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/1.026, allocations: 56.34 kB / 1.272 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.588e-05/1.026, allocations: 55.98 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.026, allocations: 1.719 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.026, allocations: 0 / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007165/1.027, allocations: 0.5402 MB / 1.272 GB, free: 16.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/1.028, allocations: 0.9162 MB / 1.273 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.028, allocations: 0.6562 kB / 1.273 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/1.028, allocations: 42.59 kB / 1.273 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/1.028, allocations: 67.78 kB / 1.273 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/1.028, allocations: 6.734 kB / 1.273 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/1.03, allocations: 1.824 MB / 1.275 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.03, allocations: 3.594 kB / 1.275 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/1.031, allocations: 432.3 kB / 1.276 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/1.031, allocations: 170.2 kB / 1.276 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/1.031, allocations: 3.953 kB / 1.276 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/1.031, allocations: 37.42 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.031, allocations: 16.66 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/1.032, allocations: 15.73 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004151/1.032, allocations: 400.2 kB / 1.276 GB, free: 14.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.032, allocations: 0 / 1.276 GB, free: 14.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000658/1.033, allocations: 207.5 kB / 1.276 GB, free: 14.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003957/1.033, allocations: 177.8 kB / 1.277 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008821/1.034, allocations: 0.5419 MB / 1.277 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.034, allocations: 4.875 kB / 1.277 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/1.034, allocations: 253.1 kB / 1.277 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.036, allocations: 370.3 kB / 1.278 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/1.037, allocations: 1.2 MB / 1.279 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/1.038, allocations: 0.9095 MB / 1.28 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004663/1.038, allocations: 115.2 kB / 1.28 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/1.038, allocations: 39.31 kB / 1.28 GB, free: 12.97 MB / 1.014 GB Notification: Performance of SimCode: time 9.01e-07/1.038, allocations: 1 kB / 1.28 GB, free: 12.97 MB / 1.014 GB Notification: Performance of Templates: time 0.02333/1.062, allocations: 12.89 MB / 1.293 GB, free: 12.41 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches