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.006548/0.006548, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.00145/0.00145, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.563/2.563, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.91/0.9114, allocations: 159.9 MB / 1.226 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1825/1.094, allocations: 171.1 MB / 1.393 GB, free: 1.852 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006082/1.1, allocations: 4.298 MB / 1.397 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/1.101, allocations: 19.88 kB / 1.397 GB, free: 13.53 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009843/1.102, allocations: 357.9 kB / 1.397 GB, free: 13.18 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/1.104, allocations: 1.217 MB / 1.398 GB, free: 11.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/1.106, allocations: 0.7976 MB / 1.399 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002148/1.108, allocations: 1.699 MB / 1.401 GB, free: 9.457 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009011/1.109, allocations: 0.5543 MB / 1.401 GB, free: 8.898 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/1.111, allocations: 0.6887 MB / 1.402 GB, free: 8.207 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/1.112, allocations: 0.5607 MB / 1.403 GB, free: 7.648 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/1.112, allocations: 64 kB / 1.403 GB, free: 7.586 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/1.114, allocations: 0.799 MB / 1.403 GB, free: 6.785 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/1.114, allocations: 271.3 kB / 1.404 GB, free: 6.52 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/1.115, allocations: 406.3 kB / 1.404 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/1.116, allocations: 1.27 MB / 1.405 GB, free: 4.848 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.116, allocations: 4 kB / 1.405 GB, free: 4.844 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.883e-06/1.116, allocations: 0 / 1.405 GB, free: 4.844 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.116, allocations: 0 / 1.405 GB, free: 4.844 MB / 1.123 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.00181/1.118, allocations: 1.051 MB / 1.406 GB, free: 3.738 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.118, allocations: 8.031 kB / 1.406 GB, free: 3.73 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.119, allocations: 167.4 kB / 1.407 GB, free: 3.566 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/1.12, allocations: 0.5487 MB / 1.407 GB, free: 2.977 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/1.12, allocations: 45.31 kB / 1.407 GB, free: 2.934 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.12, allocations: 48 kB / 1.407 GB, free: 2.887 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.121, allocations: 0.6518 MB / 1.408 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.121, allocations: 0 / 1.408 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/1.121, allocations: 20 kB / 1.408 GB, free: 2.199 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/1.121, allocations: 25.31 kB / 1.408 GB, free: 2.172 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/1.122, allocations: 0.5126 MB / 1.408 GB, free: 1.66 MB / 1.123 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.003266/1.126, allocations: 2.302 MB / 1.411 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/1.126, allocations: 258.8 kB / 1.411 GB, free: 14.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/1.126, allocations: 135.4 kB / 1.411 GB, free: 14.8 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/1.126, allocations: 7.938 kB / 1.411 GB, free: 14.79 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/1.127, allocations: 38.56 kB / 1.411 GB, free: 14.74 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.624e-06/1.127, allocations: 0 / 1.411 GB, free: 14.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001655/1.128, allocations: 0.6691 MB / 1.412 GB, free: 14.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.128, allocations: 81.11 kB / 1.412 GB, free: 13.93 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/1.129, allocations: 0.5535 MB / 1.412 GB, free: 13.36 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/1.129, allocations: 37.64 kB / 1.412 GB, free: 13.32 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/1.129, allocations: 343.8 kB / 1.413 GB, free: 12.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/1.129, allocations: 71.36 kB / 1.413 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/1.129, allocations: 69.98 kB / 1.413 GB, free: 12.84 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.13, allocations: 370.7 kB / 1.413 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/1.13, allocations: 132.6 kB / 1.413 GB, free: 12.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/1.13, allocations: 218.6 kB / 1.413 GB, free: 12.09 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/1.131, allocations: 328.9 kB / 1.414 GB, free: 11.74 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.131, allocations: 8 kB / 1.414 GB, free: 11.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009137/1.132, allocations: 498.8 kB / 1.414 GB, free: 11.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.132, allocations: 8 kB / 1.414 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.132, allocations: 3.984 kB / 1.414 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/1.132, allocations: 97.69 kB / 1.414 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/1.133, allocations: 71.91 kB / 1.414 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/1.136, allocations: 3.347 MB / 1.418 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/1.136, allocations: 51.61 kB / 1.418 GB, free: 7.367 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/1.136, allocations: 16 kB / 1.418 GB, free: 7.352 MB / 1.139 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.0002645/1.136, allocations: 221.7 kB / 1.418 GB, free: 7.125 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/1.136, allocations: 55.67 kB / 1.418 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/1.137, allocations: 52.5 kB / 1.418 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.137, allocations: 4 kB / 1.418 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.137, allocations: 3.938 kB / 1.418 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007858/1.137, allocations: 0.5317 MB / 1.419 GB, free: 6.41 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.139, allocations: 0.9164 MB / 1.419 GB, free: 5.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.139, allocations: 0 / 1.419 GB, free: 5.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/1.139, allocations: 43.91 kB / 1.42 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/1.139, allocations: 64.88 kB / 1.42 GB, free: 5.32 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.139, allocations: 8 kB / 1.42 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/1.141, allocations: 1.821 MB / 1.421 GB, free: 3.352 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.141, allocations: 4.031 kB / 1.421 GB, free: 3.348 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/1.142, allocations: 437.6 kB / 1.422 GB, free: 2.895 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.142, allocations: 180.6 kB / 1.422 GB, free: 2.699 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/1.142, allocations: 3.938 kB / 1.422 GB, free: 2.695 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/1.142, allocations: 22.02 kB / 1.422 GB, free: 2.676 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/1.142, allocations: 19.97 kB / 1.422 GB, free: 2.656 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.142, allocations: 12 kB / 1.422 GB, free: 2.645 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004474/1.143, allocations: 398.8 kB / 1.422 GB, free: 2.258 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.2e-07/1.143, allocations: 4 kB / 1.422 GB, free: 2.254 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006147/1.144, allocations: 203.7 kB / 1.423 GB, free: 2.055 MB / 1.139 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.0003685/1.144, allocations: 165 kB / 1.423 GB, free: 1.891 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009111/1.145, allocations: 0.542 MB / 1.423 GB, free: 1.324 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.145, allocations: 0 / 1.423 GB, free: 1.324 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/1.145, allocations: 264.3 kB / 1.424 GB, free: 1.055 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.147, allocations: 368.3 kB / 1.424 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.149, allocations: 0.9895 MB / 1.425 GB, free: 15.67 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/1.149, allocations: 0.9131 MB / 1.426 GB, free: 14.73 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00042/1.15, allocations: 116.8 kB / 1.426 GB, free: 14.62 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/1.15, allocations: 39.44 kB / 1.426 GB, free: 14.58 MB / 1.154 GB Notification: Performance of SimCode: time 3.71e-07/1.15, allocations: 0 / 1.426 GB, free: 14.58 MB / 1.154 GB Notification: Performance of Templates: time 0.02178/1.171, allocations: 13.09 MB / 1.439 GB, free: 1.676 MB / 1.154 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/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