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.001269/0.001268, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001646/0.001646, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.395/2.395, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7365, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2035/0.94, allocations: 168.8 MB / 1.114 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009651/0.9498, allocations: 4.271 MB / 1.118 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.9514, allocations: 19.88 kB / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.9528, allocations: 318.5 kB / 1.118 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.9575, allocations: 1.14 MB / 1.12 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.9605, allocations: 0.7422 MB / 1.12 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.9635, allocations: 1.686 MB / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.9646, allocations: 0.5503 MB / 1.122 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.9663, allocations: 0.6732 MB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.9678, allocations: 0.5966 MB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.9679, allocations: 64 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.9698, allocations: 0.8378 MB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.9701, allocations: 279.3 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.9706, allocations: 402.3 kB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.9724, allocations: 1.313 MB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.9724, allocations: 0 / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9724, allocations: 0 / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.9724, allocations: 0 / 1.126 GB, free: 11.76 MB / 0.8887 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.001928/0.9743, allocations: 1.04 MB / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9744, allocations: 8.031 kB / 1.128 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9754, allocations: 167 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007711/0.9762, allocations: 0.521 MB / 1.128 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.9762, allocations: 41.31 kB / 1.128 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.9763, allocations: 48 kB / 1.128 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.9775, allocations: 0.6519 MB / 1.129 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.9775, allocations: 11.88 kB / 1.129 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.9776, allocations: 20 kB / 1.129 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.9776, allocations: 21.31 kB / 1.129 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.9785, allocations: 0.5126 MB / 1.129 GB, free: 8.613 MB / 0.8887 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.003189/0.9817, allocations: 2.312 MB / 1.132 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.9823, allocations: 258.7 kB / 1.132 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.9825, allocations: 134.7 kB / 1.132 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.9826, allocations: 7.938 kB / 1.132 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.9826, allocations: 38.56 kB / 1.132 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.9826, allocations: 0 / 1.132 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001654/0.9843, allocations: 0.6688 MB / 1.133 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.9843, allocations: 85.09 kB / 1.133 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.985, allocations: 0.5535 MB / 1.133 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.985, allocations: 33.7 kB / 1.133 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.9853, allocations: 339.1 kB / 1.134 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.9853, allocations: 67 kB / 1.134 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.9855, allocations: 69.94 kB / 1.134 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9856, allocations: 362.7 kB / 1.134 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.9859, allocations: 132.5 kB / 1.134 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.9862, allocations: 218.6 kB / 1.135 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.9867, allocations: 332.9 kB / 1.135 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9868, allocations: 0 / 1.135 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008864/0.9876, allocations: 0.4906 MB / 1.135 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.9877, allocations: 11.94 kB / 1.135 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9877, allocations: 4 kB / 1.135 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.9881, allocations: 101.9 kB / 1.135 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.9884, allocations: 67.91 kB / 1.136 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.9915, allocations: 3.35 MB / 1.139 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.9921, allocations: 59.55 kB / 1.139 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.9921, allocations: 20 kB / 1.139 GB, free: 14.29 MB / 0.9044 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.0003312/0.9925, allocations: 217.7 kB / 1.139 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.9926, allocations: 55.34 kB / 1.139 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.095e-05/0.9927, allocations: 52.5 kB / 1.139 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9927, allocations: 4 kB / 1.139 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9927, allocations: 3.938 kB / 1.139 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000722/0.9934, allocations: 0.5397 MB / 1.14 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.9947, allocations: 0.9143 MB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9947, allocations: 0 / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.9949, allocations: 43.91 kB / 1.141 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.9951, allocations: 68.86 kB / 1.141 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.9952, allocations: 8 kB / 1.141 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.9969, allocations: 1.813 MB / 1.143 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9969, allocations: 8.031 kB / 1.143 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.9975, allocations: 437.3 kB / 1.143 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.9977, allocations: 172.4 kB / 1.143 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.9978, allocations: 3.938 kB / 1.143 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.9983, allocations: 39.88 kB / 1.143 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.9984, allocations: 19.97 kB / 1.143 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.9984, allocations: 15.98 kB / 1.143 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004595/0.9989, allocations: 394.8 kB / 1.144 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9989, allocations: 0 / 1.144 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007164/0.9996, allocations: 207.6 kB / 1.144 GB, free: 8.977 MB / 0.9044 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.0004389/1, allocations: 171.8 kB / 1.144 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009191/1.001, allocations: 0.5343 MB / 1.144 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.001, allocations: 0 / 1.144 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/1.001, allocations: 263.2 kB / 1.145 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.003, allocations: 372.5 kB / 1.145 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.005, allocations: 1.197 MB / 1.146 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/1.005, allocations: 0.9054 MB / 1.147 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004688/1.006, allocations: 112.8 kB / 1.147 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/1.006, allocations: 39.44 kB / 1.147 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/1.006, allocations: 0 / 1.147 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of Templates: time 0.02433/1.03, allocations: 12.89 MB / 1.16 GB, free: 8.633 MB / 0.92 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