Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009223/0.0009219, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 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: 176.9 kB / 16.92 MB, free: 6.652 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 15.94 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7134, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1793/0.8928, allocations: 166.6 MB / 1.186 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007/0.8998, allocations: 4.312 MB / 1.191 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009208/0.9008, allocations: 15.88 kB / 1.191 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.9019, allocations: 310.5 kB / 1.191 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.9051, allocations: 1.148 MB / 1.192 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.9071, allocations: 0.7102 MB / 1.193 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.91, allocations: 2.362 MB / 1.195 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.9107, allocations: 485.6 kB / 1.195 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.912, allocations: 0.5718 MB / 1.196 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.9133, allocations: 0.5525 MB / 1.197 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.9133, allocations: 28 kB / 1.197 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.9151, allocations: 0.9079 MB / 1.198 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.9154, allocations: 227.3 kB / 1.198 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.9158, allocations: 380 kB / 1.198 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.917, allocations: 0.9429 MB / 1.199 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.917, allocations: 0 / 1.199 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.435e-06/0.917, allocations: 4 kB / 1.199 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.9171, allocations: 4 kB / 1.199 GB, free: 11.66 MB / 0.9512 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.001666/0.9187, allocations: 0.9002 MB / 1.2 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.9188, allocations: 8.031 kB / 1.2 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000983/0.9198, allocations: 155.1 kB / 1.2 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.9206, allocations: 0.5288 MB / 1.201 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.9206, allocations: 37.31 kB / 1.201 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.9207, allocations: 51.98 kB / 1.201 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.9218, allocations: 0.6619 MB / 1.201 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.9218, allocations: 0 / 1.201 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.9219, allocations: 20 kB / 1.201 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.922, allocations: 33.31 kB / 1.201 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/0.9229, allocations: 0.5204 MB / 1.202 GB, free: 8.648 MB / 0.9512 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.00336/0.9262, allocations: 2.305 MB / 1.204 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.9268, allocations: 264.1 kB / 1.204 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.9271, allocations: 140.7 kB / 1.204 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.9271, allocations: 11.92 kB / 1.205 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.9271, allocations: 34.56 kB / 1.205 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/0.9271, allocations: 0 / 1.205 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001759/0.9289, allocations: 0.6901 MB / 1.205 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.929, allocations: 81.11 kB / 1.205 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.9297, allocations: 0.5574 MB / 1.206 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.9297, allocations: 33.7 kB / 1.206 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.93, allocations: 335 kB / 1.206 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.93, allocations: 67.09 kB / 1.206 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.9301, allocations: 33.7 kB / 1.206 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9303, allocations: 366.7 kB / 1.207 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.9305, allocations: 136.6 kB / 1.207 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.9309, allocations: 222.6 kB / 1.207 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.9314, allocations: 344.8 kB / 1.207 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9315, allocations: 4 kB / 1.207 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009494/0.9324, allocations: 0.4948 MB / 1.208 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.9324, allocations: 8 kB / 1.208 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.9325, allocations: 0 / 1.208 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.9328, allocations: 97.64 kB / 1.208 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.9331, allocations: 75.84 kB / 1.208 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.9364, allocations: 3.11 MB / 1.211 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.937, allocations: 63.44 kB / 1.211 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.9371, allocations: 19.94 kB / 1.211 GB, free: 14.57 MB / 0.9669 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.0003749/0.9374, allocations: 217.7 kB / 1.211 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.9375, allocations: 63.27 kB / 1.211 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.9377, allocations: 60.5 kB / 1.211 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9377, allocations: 0 / 1.211 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9377, allocations: 0 / 1.211 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007729/0.9384, allocations: 0.548 MB / 1.212 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.9398, allocations: 0.926 MB / 1.213 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.9398, allocations: 0 / 1.213 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.94, allocations: 43.97 kB / 1.213 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.9403, allocations: 68.94 kB / 1.213 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.9403, allocations: 8.062 kB / 1.213 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.9418, allocations: 1.675 MB / 1.215 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9418, allocations: 0 / 1.215 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.9425, allocations: 462.8 kB / 1.215 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.9428, allocations: 168.3 kB / 1.215 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.9429, allocations: 8 kB / 1.215 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.9434, allocations: 33.14 kB / 1.215 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.9434, allocations: 15.98 kB / 1.215 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.9435, allocations: 15.98 kB / 1.215 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004995/0.944, allocations: 398.8 kB / 1.216 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.944, allocations: 0 / 1.216 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00075/0.9448, allocations: 207.6 kB / 1.216 GB, free: 9.359 MB / 0.9669 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.0004496/0.9452, allocations: 167 kB / 1.216 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.9462, allocations: 0.5444 MB / 1.217 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.9462, allocations: 4.062 kB / 1.217 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.9466, allocations: 259.9 kB / 1.217 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.9485, allocations: 366 kB / 1.217 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.9505, allocations: 1.293 MB / 1.218 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.951, allocations: 0.9054 MB / 1.219 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.9511, allocations: 39.44 kB / 1.219 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.9511, allocations: 0 / 1.219 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of Templates: time 0.02088/0.972, allocations: 13.33 MB / 1.232 GB, free: 8.469 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches