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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001528/0.001528, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001667/0.001667, 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.969/0.9706, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1965/1.167, allocations: 171.1 MB / 1.334 GB, free: 8.156 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007297/1.174, allocations: 4.302 MB / 1.339 GB, free: 3.844 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/1.176, allocations: 19.88 kB / 1.339 GB, free: 3.824 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/1.177, allocations: 369.9 kB / 1.339 GB, free: 3.461 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/1.181, allocations: 1.252 MB / 1.34 GB, free: 2.203 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/1.183, allocations: 0.8166 MB / 1.341 GB, free: 1.391 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002718/1.186, allocations: 1.695 MB / 1.343 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/1.187, allocations: 0.5582 MB / 1.343 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/1.189, allocations: 0.7083 MB / 1.344 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/1.19, allocations: 0.5626 MB / 1.344 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002293/1.191, allocations: 64 kB / 1.344 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/1.193, allocations: 0.799 MB / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/1.193, allocations: 267.3 kB / 1.345 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007849/1.194, allocations: 410.2 kB / 1.346 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/1.196, allocations: 1.272 MB / 1.347 GB, free: 11.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.196, allocations: 4 kB / 1.347 GB, free: 11.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.505e-06/1.196, allocations: 0 / 1.347 GB, free: 11.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.003e-05/1.196, allocations: 0 / 1.347 GB, free: 11.05 MB / 1.076 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.002552/1.199, allocations: 1.025 MB / 1.348 GB, free: 9.973 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.199, allocations: 8.922 kB / 1.348 GB, free: 9.965 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.2, allocations: 175 kB / 1.348 GB, free: 9.793 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/1.201, allocations: 0.5366 MB / 1.349 GB, free: 9.215 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/1.201, allocations: 41.31 kB / 1.349 GB, free: 9.176 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/1.202, allocations: 51.94 kB / 1.349 GB, free: 9.125 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.203, allocations: 0.6518 MB / 1.35 GB, free: 8.457 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.203, allocations: 0 / 1.35 GB, free: 8.457 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/1.203, allocations: 32 kB / 1.35 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/1.203, allocations: 21.31 kB / 1.35 GB, free: 8.402 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/1.204, allocations: 0.5125 MB / 1.35 GB, free: 7.891 MB / 1.076 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.003762/1.208, allocations: 2.293 MB / 1.352 GB, free: 5.434 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/1.208, allocations: 251.3 kB / 1.353 GB, free: 5.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/1.208, allocations: 137.1 kB / 1.353 GB, free: 5.047 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/1.209, allocations: 3.938 kB / 1.353 GB, free: 5.043 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/1.209, allocations: 46.48 kB / 1.353 GB, free: 4.988 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/1.209, allocations: 0 / 1.353 GB, free: 4.988 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001755/1.21, allocations: 0.6688 MB / 1.353 GB, free: 4.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.21, allocations: 81.11 kB / 1.353 GB, free: 4.172 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/1.211, allocations: 0.5536 MB / 1.354 GB, free: 3.609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/1.211, allocations: 33.7 kB / 1.354 GB, free: 3.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/1.211, allocations: 339 kB / 1.354 GB, free: 3.234 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/1.212, allocations: 75.08 kB / 1.354 GB, free: 3.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/1.212, allocations: 65.94 kB / 1.355 GB, free: 3.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.212, allocations: 366.7 kB / 1.355 GB, free: 2.723 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/1.212, allocations: 132.5 kB / 1.355 GB, free: 2.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/1.212, allocations: 214.7 kB / 1.355 GB, free: 2.352 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/1.213, allocations: 329.4 kB / 1.356 GB, free: 2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.213, allocations: 3.938 kB / 1.356 GB, free: 1.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000954/1.214, allocations: 0.4949 MB / 1.356 GB, free: 1.488 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.214, allocations: 4 kB / 1.356 GB, free: 1.484 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.214, allocations: 4 kB / 1.356 GB, free: 1.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/1.214, allocations: 97.92 kB / 1.356 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/1.215, allocations: 71.91 kB / 1.356 GB, free: 1.309 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/1.218, allocations: 3.34 MB / 1.359 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/1.219, allocations: 55.36 kB / 1.359 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/1.219, allocations: 12.06 kB / 1.359 GB, free: 13.62 MB / 1.092 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.0003835/1.219, allocations: 218.3 kB / 1.36 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.219, allocations: 55.38 kB / 1.36 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/1.219, allocations: 60.5 kB / 1.36 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/1.219, allocations: 0 / 1.36 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.219, allocations: 3.938 kB / 1.36 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007352/1.22, allocations: 0.5289 MB / 1.36 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/1.222, allocations: 0.9207 MB / 1.361 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.222, allocations: 0 / 1.361 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.222, allocations: 40.03 kB / 1.361 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/1.222, allocations: 77 kB / 1.361 GB, free: 11.58 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.222, allocations: 0 / 1.361 GB, free: 11.58 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/1.224, allocations: 1.824 MB / 1.363 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.224, allocations: 0 / 1.363 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/1.225, allocations: 437.4 kB / 1.364 GB, free: 9.156 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/1.225, allocations: 168.3 kB / 1.364 GB, free: 8.973 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.225, allocations: 11.94 kB / 1.364 GB, free: 8.961 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/1.225, allocations: 17.11 kB / 1.364 GB, free: 8.945 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/1.226, allocations: 23.97 kB / 1.364 GB, free: 8.922 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/1.226, allocations: 12.19 kB / 1.364 GB, free: 8.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005133/1.226, allocations: 398.8 kB / 1.364 GB, free: 8.523 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 0 / 1.364 GB, free: 8.523 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007455/1.227, allocations: 199.6 kB / 1.364 GB, free: 8.328 MB / 1.092 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/1.227, allocations: 182.4 kB / 1.365 GB, free: 8.148 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009863/1.228, allocations: 0.5284 MB / 1.365 GB, free: 7.594 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.228, allocations: 0 / 1.365 GB, free: 7.594 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/1.229, allocations: 254.5 kB / 1.365 GB, free: 7.332 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.23, allocations: 374 kB / 1.366 GB, free: 6.98 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/1.232, allocations: 1.022 MB / 1.367 GB, free: 5.914 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/1.233, allocations: 0.9053 MB / 1.368 GB, free: 4.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.233, allocations: 43.44 kB / 1.368 GB, free: 4.938 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.233, allocations: 0 / 1.368 GB, free: 4.938 MB / 1.092 GB Notification: Performance of Templates: time 0.02026/1.253, allocations: 13.46 MB / 1.381 GB, free: 7.582 MB / 1.107 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