Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.004002/0.004002, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.001081/0.001082, allocations: 196.6 kB / 16.67 MB, free: 6.355 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 / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 57.5 kB / 0.9508 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3011, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1901/0.4912, allocations: 171.1 MB / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006945/0.4982, allocations: 4.304 MB / 1.259 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.4989, allocations: 19.88 kB / 1.259 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.5001, allocations: 373.9 kB / 1.26 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.6874/1.187, allocations: 1.249 MB / 1.261 GB, free: 4.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/1.19, allocations: 0.8014 MB / 1.262 GB, free: 4.492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002534/1.192, allocations: 1.701 MB / 1.263 GB, free: 4.488 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/1.193, allocations: 0.5585 MB / 1.264 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/1.195, allocations: 0.7115 MB / 1.264 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/1.197, allocations: 0.554 MB / 1.265 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/1.197, allocations: 66 kB / 1.265 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/1.199, allocations: 0.8008 MB / 1.266 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/1.2, allocations: 276 kB / 1.266 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008106/1.201, allocations: 402.4 kB / 1.266 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/1.203, allocations: 1.264 MB / 1.268 GB, free: 4.441 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.203, allocations: 0.9062 kB / 1.268 GB, free: 4.441 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.355e-06/1.203, allocations: 0.9375 kB / 1.268 GB, free: 4.441 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.266e-05/1.203, allocations: 0.75 kB / 1.268 GB, free: 4.441 MB / 1.014 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.002119/1.205, allocations: 1.037 MB / 1.269 GB, free: 3.844 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.205, allocations: 10.47 kB / 1.269 GB, free: 3.844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/1.206, allocations: 164.4 kB / 1.269 GB, free: 3.809 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/1.207, allocations: 0.545 MB / 1.269 GB, free: 3.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/1.207, allocations: 37.88 kB / 1.269 GB, free: 3.547 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/1.208, allocations: 55.06 kB / 1.27 GB, free: 3.547 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.209, allocations: 0.649 MB / 1.27 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.209, allocations: 0.9375 kB / 1.27 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/1.209, allocations: 25.66 kB / 1.27 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/1.209, allocations: 27.39 kB / 1.27 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.21, allocations: 0.5111 MB / 1.271 GB, free: 3.461 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.004155/1.214, allocations: 2.287 MB / 1.273 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/1.215, allocations: 257.9 kB / 1.273 GB, free: 2.402 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/1.215, allocations: 134 kB / 1.273 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/1.215, allocations: 3.656 kB / 1.273 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/1.215, allocations: 39.45 kB / 1.273 GB, free: 2.355 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/1.215, allocations: 3.938 kB / 1.273 GB, free: 2.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001934/1.217, allocations: 0.6712 MB / 1.274 GB, free: 2.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.217, allocations: 80.06 kB / 1.274 GB, free: 1.996 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/1.218, allocations: 0.5609 MB / 1.275 GB, free: 17.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/1.218, allocations: 31.45 kB / 1.275 GB, free: 17.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/1.219, allocations: 334.4 kB / 1.275 GB, free: 17.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/1.219, allocations: 69.62 kB / 1.275 GB, free: 17.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.219, allocations: 70.56 kB / 1.275 GB, free: 17.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.219, allocations: 367.1 kB / 1.275 GB, free: 17.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/1.219, allocations: 128.1 kB / 1.276 GB, free: 17.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.22, allocations: 220.6 kB / 1.276 GB, free: 17.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/1.22, allocations: 337.5 kB / 1.276 GB, free: 17.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.22, allocations: 1.344 kB / 1.276 GB, free: 17.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009985/1.221, allocations: 0.4917 MB / 1.277 GB, free: 17.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.221, allocations: 7.422 kB / 1.277 GB, free: 17.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.221, allocations: 2.328 kB / 1.277 GB, free: 17.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/1.222, allocations: 93.42 kB / 1.277 GB, free: 17.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/1.222, allocations: 75.36 kB / 1.277 GB, free: 17.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/1.225, allocations: 3.338 MB / 1.28 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/1.226, allocations: 54.17 kB / 1.28 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/1.226, allocations: 17.44 kB / 1.28 GB, free: 14.28 MB / 1.029 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.0003183/1.226, allocations: 213.2 kB / 1.28 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.226, allocations: 53.36 kB / 1.28 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/1.227, allocations: 57.95 kB / 1.28 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.227, allocations: 2.594 kB / 1.28 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.227, allocations: 5.938 kB / 1.28 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008265/1.227, allocations: 0.5344 MB / 1.281 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.229, allocations: 0.9186 MB / 1.282 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.229, allocations: 1.094 kB / 1.282 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/1.229, allocations: 40.58 kB / 1.282 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/1.229, allocations: 67.75 kB / 1.282 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.229, allocations: 2.031 kB / 1.282 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.231, allocations: 1.827 MB / 1.284 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.231, allocations: 2.609 kB / 1.284 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/1.232, allocations: 440.2 kB / 1.284 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/1.232, allocations: 171.8 kB / 1.284 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.232, allocations: 5.922 kB / 1.284 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/1.233, allocations: 24.61 kB / 1.284 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/1.233, allocations: 19.98 kB / 1.284 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/1.233, allocations: 15.2 kB / 1.284 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005091/1.233, allocations: 400.2 kB / 1.285 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.233, allocations: 0 / 1.285 GB, free: 11.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007545/1.234, allocations: 203.8 kB / 1.285 GB, free: 11.66 MB / 1.029 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.0004159/1.234, allocations: 166 kB / 1.285 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009428/1.235, allocations: 0.5291 MB / 1.286 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.235, allocations: 1.562 kB / 1.286 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000402/1.236, allocations: 262 kB / 1.286 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.237, allocations: 370.8 kB / 1.286 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.239, allocations: 0.983 MB / 1.287 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/1.24, allocations: 0.9086 MB / 1.288 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004206/1.24, allocations: 110.3 kB / 1.288 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/1.24, allocations: 38.95 kB / 1.288 GB, free: 10.02 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.24, allocations: 1.969 kB / 1.288 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Templates: time 0.02606/1.266, allocations: 13.11 MB / 1.301 GB, free: 9.516 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches