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.001519/0.001519, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001785/0.001785, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.368/2.368, allocations: 390.3 MB / 0.6653 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 65.33 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3064, allocations: 140.4 MB / 0.9503 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7105/1.017, allocations: 171.1 MB / 1.117 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007409/1.024, allocations: 4.297 MB / 1.122 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/1.026, allocations: 21.91 kB / 1.122 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.027, allocations: 358.9 kB / 1.122 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/1.031, allocations: 1.224 MB / 1.123 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/1.033, allocations: 0.7813 MB / 1.124 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002903/1.036, allocations: 1.69 MB / 1.125 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/1.037, allocations: 0.5611 MB / 1.126 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/1.039, allocations: 0.6779 MB / 1.127 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/1.04, allocations: 0.5507 MB / 1.127 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/1.041, allocations: 64.72 kB / 1.127 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/1.043, allocations: 0.8007 MB / 1.128 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/1.043, allocations: 272.2 kB / 1.128 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006057/1.044, allocations: 406.9 kB / 1.129 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/1.046, allocations: 1.254 MB / 1.13 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.046, allocations: 0 / 1.13 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/1.046, allocations: 0 / 1.13 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.429e-05/1.046, allocations: 1.125 kB / 1.13 GB, free: 5.141 MB / 0.8575 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.00217/1.048, allocations: 1.029 MB / 1.131 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.048, allocations: 17.66 kB / 1.131 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/1.049, allocations: 162.9 kB / 1.131 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/1.05, allocations: 0.5146 MB / 1.132 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/1.05, allocations: 45.66 kB / 1.132 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.5e-05/1.05, allocations: 53.39 kB / 1.132 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.051, allocations: 0.6536 MB / 1.132 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.051, allocations: 0 / 1.132 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/1.051, allocations: 23.97 kB / 1.132 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.051, allocations: 21.59 kB / 1.132 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000941/1.052, allocations: 0.5168 MB / 1.133 GB, free: 20.15 MB / 0.8731 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.003595/1.056, allocations: 2.313 MB / 1.135 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/1.057, allocations: 265.2 kB / 1.135 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/1.057, allocations: 140.8 kB / 1.136 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/1.057, allocations: 2.969 kB / 1.136 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.057, allocations: 45.03 kB / 1.136 GB, free: 19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.544e-06/1.057, allocations: 1.25 kB / 1.136 GB, free: 19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001754/1.059, allocations: 0.6708 MB / 1.136 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.059, allocations: 82.52 kB / 1.136 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/1.059, allocations: 0.5563 MB / 1.137 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/1.059, allocations: 31.8 kB / 1.137 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/1.06, allocations: 336.1 kB / 1.137 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/1.06, allocations: 68.5 kB / 1.137 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.06, allocations: 75.75 kB / 1.137 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.06, allocations: 361.1 kB / 1.138 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/1.06, allocations: 132.2 kB / 1.138 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/1.061, allocations: 222.2 kB / 1.138 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/1.061, allocations: 336.8 kB / 1.138 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.061, allocations: 1.312 kB / 1.138 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000919/1.062, allocations: 497.8 kB / 1.139 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.062, allocations: 5.156 kB / 1.139 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.062, allocations: 2.625 kB / 1.139 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/1.063, allocations: 93.94 kB / 1.139 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/1.063, allocations: 67.7 kB / 1.139 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/1.066, allocations: 3.342 MB / 1.142 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/1.066, allocations: 58.16 kB / 1.142 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/1.066, allocations: 13.66 kB / 1.142 GB, free: 14.88 MB / 0.8731 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.0003368/1.067, allocations: 217.2 kB / 1.143 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.067, allocations: 61.41 kB / 1.143 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/1.067, allocations: 52.25 kB / 1.143 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.067, allocations: 2.719 kB / 1.143 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.067, allocations: 0 / 1.143 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007342/1.068, allocations: 0.5372 MB / 1.143 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.069, allocations: 0.9164 MB / 1.144 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.069, allocations: 3.141 kB / 1.144 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/1.069, allocations: 44.3 kB / 1.144 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/1.07, allocations: 68.52 kB / 1.144 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/1.07, allocations: 5.156 kB / 1.144 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/1.071, allocations: 1.815 MB / 1.146 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.071, allocations: 1.5 kB / 1.146 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/1.072, allocations: 440.2 kB / 1.146 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/1.072, allocations: 170.5 kB / 1.147 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/1.072, allocations: 9.188 kB / 1.147 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/1.073, allocations: 19.31 kB / 1.147 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/1.073, allocations: 25.09 kB / 1.147 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/1.073, allocations: 16.62 kB / 1.147 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005408/1.073, allocations: 399.9 kB / 1.147 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.073, allocations: 2.531 kB / 1.147 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007925/1.074, allocations: 204.8 kB / 1.147 GB, free: 12.24 MB / 0.8731 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.0004021/1.075, allocations: 158.9 kB / 1.147 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009569/1.076, allocations: 0.5451 MB / 1.148 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.076, allocations: 2.391 kB / 1.148 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/1.076, allocations: 251.8 kB / 1.148 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.078, allocations: 370.7 kB / 1.148 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.079, allocations: 1.039 MB / 1.149 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/1.08, allocations: 0.9094 MB / 1.15 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.08, allocations: 40.62 kB / 1.15 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of SimCode: time 3.5e-07/1.08, allocations: 0 / 1.15 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.02055/1.101, allocations: 13.41 MB / 1.164 GB, free: 7.004 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches