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.006772/0.006772, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001183/0.001183, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.8 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.98/1.295, allocations: 171.1 MB / 1.375 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007382/1.302, allocations: 4.3 MB / 1.379 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/1.303, allocations: 23.19 kB / 1.379 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/1.305, allocations: 353 kB / 1.379 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003867/1.309, allocations: 1.225 MB / 1.381 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/1.311, allocations: 0.789 MB / 1.381 GB, free: 9.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00276/1.314, allocations: 1.694 MB / 1.383 GB, free: 8.602 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008624/1.315, allocations: 0.5672 MB / 1.383 GB, free: 8.254 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/1.316, allocations: 0.6859 MB / 1.384 GB, free: 7.855 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/1.317, allocations: 0.5541 MB / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/1.318, allocations: 64.62 kB / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/1.32, allocations: 0.7954 MB / 1.386 GB, free: 7.117 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/1.32, allocations: 274.8 kB / 1.386 GB, free: 6.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004907/1.321, allocations: 409.8 kB / 1.386 GB, free: 6.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/1.322, allocations: 1.264 MB / 1.387 GB, free: 5.859 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.322, allocations: 0 / 1.387 GB, free: 5.859 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/1.323, allocations: 1.188 kB / 1.387 GB, free: 5.859 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.323, allocations: 4 kB / 1.387 GB, free: 5.855 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.002021/1.325, allocations: 1.037 MB / 1.388 GB, free: 5.035 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.325, allocations: 14.72 kB / 1.388 GB, free: 5.031 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.326, allocations: 165 kB / 1.389 GB, free: 4.957 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/1.327, allocations: 0.5315 MB / 1.389 GB, free: 4.512 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/1.327, allocations: 47.22 kB / 1.389 GB, free: 4.488 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/1.327, allocations: 54.38 kB / 1.389 GB, free: 4.469 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.328, allocations: 0.6499 MB / 1.39 GB, free: 4.078 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/1.328, allocations: 1.094 kB / 1.39 GB, free: 4.078 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/1.328, allocations: 29.67 kB / 1.39 GB, free: 4.055 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/1.328, allocations: 22.31 kB / 1.39 GB, free: 4.051 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/1.329, allocations: 0.5131 MB / 1.39 GB, free: 3.801 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.003674/1.333, allocations: 2.289 MB / 1.393 GB, free: 1.914 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/1.333, allocations: 253.7 kB / 1.393 GB, free: 1.781 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/1.334, allocations: 136.3 kB / 1.393 GB, free: 1.711 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/1.334, allocations: 6.766 kB / 1.393 GB, free: 1.707 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.334, allocations: 45.34 kB / 1.393 GB, free: 1.656 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/1.334, allocations: 0 / 1.393 GB, free: 1.656 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001748/1.335, allocations: 0.6682 MB / 1.394 GB, free: 1.191 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.336, allocations: 83.86 kB / 1.394 GB, free: 1.094 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/1.336, allocations: 0.5538 MB / 1.394 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/1.336, allocations: 32.02 kB / 1.394 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/1.337, allocations: 336.5 kB / 1.395 GB, free: 440 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/1.337, allocations: 69.28 kB / 1.395 GB, free: 380 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.337, allocations: 69.12 kB / 1.395 GB, free: 332 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.337, allocations: 367.2 kB / 1.395 GB, free: 15.97 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/1.337, allocations: 135.2 kB / 1.395 GB, free: 15.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/1.338, allocations: 213.5 kB / 1.396 GB, free: 15.74 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/1.338, allocations: 339.3 kB / 1.396 GB, free: 15.51 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.338, allocations: 0 / 1.396 GB, free: 15.51 MB / 1.092 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009388/1.339, allocations: 498.5 kB / 1.396 GB, free: 15.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.339, allocations: 5.375 kB / 1.396 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/1.339, allocations: 2.625 kB / 1.396 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003367/1.339, allocations: 99.8 kB / 1.396 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.34, allocations: 70.97 kB / 1.396 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/1.343, allocations: 3.334 MB / 1.4 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/1.343, allocations: 64.42 kB / 1.4 GB, free: 11.92 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/1.344, allocations: 14.91 kB / 1.4 GB, free: 11.91 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.0003387/1.344, allocations: 216.7 kB / 1.4 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/1.344, allocations: 51.5 kB / 1.4 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/1.344, allocations: 63.84 kB / 1.4 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.344, allocations: 0 / 1.4 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.344, allocations: 2.781 kB / 1.4 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007163/1.345, allocations: 0.5268 MB / 1.401 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/1.346, allocations: 0.9219 MB / 1.402 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.346, allocations: 0 / 1.402 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.346, allocations: 40.06 kB / 1.402 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/1.347, allocations: 70.75 kB / 1.402 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.347, allocations: 0 / 1.402 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/1.348, allocations: 1.825 MB / 1.403 GB, free: 8.742 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.348, allocations: 0.8125 kB / 1.403 GB, free: 8.742 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/1.349, allocations: 438.9 kB / 1.404 GB, free: 8.441 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/1.349, allocations: 174.2 kB / 1.404 GB, free: 8.281 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/1.349, allocations: 9.531 kB / 1.404 GB, free: 8.273 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/1.35, allocations: 17.95 kB / 1.404 GB, free: 8.266 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.35, allocations: 21.33 kB / 1.404 GB, free: 8.254 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/1.35, allocations: 16.19 kB / 1.404 GB, free: 8.246 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004379/1.35, allocations: 403.6 kB / 1.404 GB, free: 8.012 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/1.35, allocations: 0 / 1.404 GB, free: 8.012 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000659/1.351, allocations: 198.8 kB / 1.405 GB, free: 7.984 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.0004275/1.351, allocations: 174.8 kB / 1.405 GB, free: 7.859 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009132/1.352, allocations: 0.522 MB / 1.405 GB, free: 7.488 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.352, allocations: 2.656 kB / 1.405 GB, free: 7.488 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/1.353, allocations: 262.4 kB / 1.406 GB, free: 7.297 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.354, allocations: 376.4 kB / 1.406 GB, free: 7.109 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.356, allocations: 0.9707 MB / 1.407 GB, free: 6.504 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/1.356, allocations: 0.9092 MB / 1.408 GB, free: 5.699 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003761/1.357, allocations: 113.4 kB / 1.408 GB, free: 5.645 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/1.357, allocations: 36.97 kB / 1.408 GB, free: 5.637 MB / 1.092 GB Notification: Performance of SimCode: time 2.2e-07/1.357, allocations: 0 / 1.408 GB, free: 5.637 MB / 1.092 GB Notification: Performance of Templates: time 0.02623/1.383, allocations: 13.11 MB / 1.421 GB, free: 11.9 MB / 1.107 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