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 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.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.001486/0.001486, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001708/0.001708, allocations: 187 kB / 17.34 MB, free: 5.719 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8843, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1841/1.069, allocations: 171.1 MB / 1.375 GB, free: 1.875 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006746/1.075, allocations: 4.298 MB / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/1.076, allocations: 19.94 kB / 1.38 GB, free: 13.55 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/1.077, allocations: 357.9 kB / 1.38 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/1.08, allocations: 1.225 MB / 1.381 GB, free: 11.96 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/1.083, allocations: 0.7861 MB / 1.382 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002363/1.085, allocations: 1.691 MB / 1.384 GB, free: 9.484 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/1.086, allocations: 0.562 MB / 1.384 GB, free: 8.926 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/1.087, allocations: 0.6927 MB / 1.385 GB, free: 8.23 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/1.089, allocations: 0.5574 MB / 1.385 GB, free: 7.676 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.089, allocations: 64 kB / 1.385 GB, free: 7.613 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/1.091, allocations: 0.8068 MB / 1.386 GB, free: 6.805 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/1.091, allocations: 259.3 kB / 1.387 GB, free: 6.551 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/1.091, allocations: 406.3 kB / 1.387 GB, free: 6.152 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/1.093, allocations: 1.264 MB / 1.388 GB, free: 4.887 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.093, allocations: 7.984 kB / 1.388 GB, free: 4.879 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/1.093, allocations: 0 / 1.388 GB, free: 4.879 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.093, allocations: 0 / 1.388 GB, free: 4.879 MB / 1.107 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.001891/1.095, allocations: 1.036 MB / 1.389 GB, free: 3.789 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.095, allocations: 8.031 kB / 1.389 GB, free: 3.781 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.096, allocations: 159 kB / 1.389 GB, free: 3.625 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/1.097, allocations: 0.5444 MB / 1.39 GB, free: 3.039 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/1.097, allocations: 45.31 kB / 1.39 GB, free: 2.996 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/1.097, allocations: 48 kB / 1.39 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/1.098, allocations: 0.6557 MB / 1.391 GB, free: 2.277 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.098, allocations: 3.938 kB / 1.391 GB, free: 2.273 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/1.098, allocations: 20 kB / 1.391 GB, free: 2.254 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/1.099, allocations: 25.31 kB / 1.391 GB, free: 2.227 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/1.099, allocations: 0.5126 MB / 1.391 GB, free: 1.715 MB / 1.107 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.003316/1.103, allocations: 2.293 MB / 1.393 GB, free: 15.25 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/1.103, allocations: 250.8 kB / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.104, allocations: 136.8 kB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.104, allocations: 7.938 kB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.104, allocations: 42.55 kB / 1.394 GB, free: 14.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.973e-06/1.104, allocations: 0 / 1.394 GB, free: 14.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001714/1.105, allocations: 0.6702 MB / 1.394 GB, free: 14.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.105, allocations: 85.05 kB / 1.395 GB, free: 13.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/1.106, allocations: 0.5574 MB / 1.395 GB, free: 13.41 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/1.106, allocations: 33.7 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/1.106, allocations: 339 kB / 1.395 GB, free: 13.04 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/1.106, allocations: 63.09 kB / 1.395 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.107, allocations: 69.94 kB / 1.396 GB, free: 12.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.107, allocations: 366.7 kB / 1.396 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/1.107, allocations: 132.6 kB / 1.396 GB, free: 12.41 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/1.107, allocations: 218.6 kB / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/1.108, allocations: 328.9 kB / 1.397 GB, free: 11.81 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.108, allocations: 4 kB / 1.397 GB, free: 11.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009555/1.109, allocations: 0.4906 MB / 1.397 GB, free: 11.3 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.109, allocations: 11.94 kB / 1.397 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.109, allocations: 0 / 1.397 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/1.109, allocations: 93.77 kB / 1.397 GB, free: 11.19 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.11, allocations: 75.91 kB / 1.397 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/1.113, allocations: 3.351 MB / 1.4 GB, free: 7.484 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/1.113, allocations: 55.36 kB / 1.401 GB, free: 7.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.113, allocations: 16 kB / 1.401 GB, free: 7.414 MB / 1.123 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.000351/1.114, allocations: 213.8 kB / 1.401 GB, free: 7.195 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.114, allocations: 51.44 kB / 1.401 GB, free: 7.145 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/1.114, allocations: 56.5 kB / 1.401 GB, free: 7.09 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.114, allocations: 4 kB / 1.401 GB, free: 7.086 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.114, allocations: 3.938 kB / 1.401 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007516/1.115, allocations: 0.529 MB / 1.401 GB, free: 6.484 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.116, allocations: 0.9221 MB / 1.402 GB, free: 5.496 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.116, allocations: 0 / 1.402 GB, free: 5.496 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/1.116, allocations: 43.91 kB / 1.402 GB, free: 5.453 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/1.117, allocations: 64.88 kB / 1.402 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.117, allocations: 8 kB / 1.402 GB, free: 5.379 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/1.118, allocations: 1.817 MB / 1.404 GB, free: 3.422 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.118, allocations: 4.031 kB / 1.404 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/1.119, allocations: 433.4 kB / 1.405 GB, free: 2.969 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/1.119, allocations: 172.3 kB / 1.405 GB, free: 2.781 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/1.119, allocations: 7.938 kB / 1.405 GB, free: 2.773 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/1.12, allocations: 19.98 kB / 1.405 GB, free: 2.754 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/1.12, allocations: 23.95 kB / 1.405 GB, free: 2.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/1.12, allocations: 12 kB / 1.405 GB, free: 2.719 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004742/1.12, allocations: 398.8 kB / 1.405 GB, free: 2.332 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/1.12, allocations: 4 kB / 1.405 GB, free: 2.328 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000668/1.121, allocations: 207.6 kB / 1.405 GB, free: 2.125 MB / 1.123 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.0004272/1.122, allocations: 161.4 kB / 1.406 GB, free: 1.965 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009421/1.123, allocations: 0.5284 MB / 1.406 GB, free: 1.41 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.123, allocations: 4 kB / 1.406 GB, free: 1.406 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/1.123, allocations: 256.5 kB / 1.406 GB, free: 1.145 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.125, allocations: 375.7 kB / 1.407 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/1.126, allocations: 1.021 MB / 1.408 GB, free: 15.73 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/1.127, allocations: 0.9015 MB / 1.409 GB, free: 14.8 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1.127, allocations: 43.44 kB / 1.409 GB, free: 14.76 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.127, allocations: 0 / 1.409 GB, free: 14.76 MB / 1.139 GB Notification: Performance of Templates: time 0.01993/1.147, allocations: 13.47 MB / 1.422 GB, free: 1.387 MB / 1.139 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches