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.001254/0.001254, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001254/0.001254, allocations: 191 kB / 16.91 MB, free: 6.184 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.283/2.283, allocations: 390.3 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 62.91 kB / 0.8127 GB, free: 33.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 140.4 MB / 0.9498 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7392/1.048, allocations: 168.8 MB / 1.115 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006449/1.055, allocations: 4.288 MB / 1.119 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/1.056, allocations: 19.84 kB / 1.119 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/1.057, allocations: 305.7 kB / 1.119 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/1.06, allocations: 1.149 MB / 1.12 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/1.063, allocations: 0.7381 MB / 1.121 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002606/1.065, allocations: 1.683 MB / 1.123 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000925/1.066, allocations: 0.5535 MB / 1.123 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/1.068, allocations: 0.6803 MB / 1.124 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/1.069, allocations: 0.589 MB / 1.124 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/1.069, allocations: 64.25 kB / 1.124 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/1.071, allocations: 0.8376 MB / 1.125 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/1.072, allocations: 275.8 kB / 1.125 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005624/1.072, allocations: 412 kB / 1.126 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/1.074, allocations: 0.9558 MB / 1.127 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.074, allocations: 1.969 kB / 1.127 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.316e-06/1.074, allocations: 0 / 1.127 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.379e-05/1.074, allocations: 2.531 kB / 1.127 GB, free: 5.18 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.002285/1.076, allocations: 1.03 MB / 1.128 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.076, allocations: 8.938 kB / 1.128 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.077, allocations: 165.6 kB / 1.128 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/1.078, allocations: 0.5181 MB / 1.128 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/1.078, allocations: 40.97 kB / 1.129 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/1.078, allocations: 50.59 kB / 1.129 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.08, allocations: 0.6538 MB / 1.129 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.08, allocations: 4 kB / 1.129 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/1.08, allocations: 26.03 kB / 1.129 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/1.08, allocations: 26.27 kB / 1.129 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/1.081, allocations: 0.5127 MB / 1.13 GB, free: 20.19 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.003438/1.084, allocations: 2.304 MB / 1.132 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/1.085, allocations: 249.1 kB / 1.132 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/1.085, allocations: 145.4 kB / 1.132 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/1.085, allocations: 4.891 kB / 1.132 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.085, allocations: 42 kB / 1.132 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/1.085, allocations: 0 / 1.132 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001766/1.087, allocations: 0.6742 MB / 1.133 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.087, allocations: 82.33 kB / 1.133 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/1.088, allocations: 0.5568 MB / 1.134 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/1.088, allocations: 33.86 kB / 1.134 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/1.088, allocations: 328.2 kB / 1.134 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/1.088, allocations: 73.45 kB / 1.134 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.088, allocations: 75.45 kB / 1.134 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.088, allocations: 362.1 kB / 1.135 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/1.088, allocations: 130.3 kB / 1.135 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/1.089, allocations: 222.5 kB / 1.135 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/1.089, allocations: 337.2 kB / 1.135 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.089, allocations: 1.344 kB / 1.135 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009058/1.09, allocations: 497.9 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.09, allocations: 6.688 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.09, allocations: 3.219 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/1.091, allocations: 94.77 kB / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/1.091, allocations: 74.25 kB / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/1.094, allocations: 3.345 MB / 1.139 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/1.095, allocations: 74.64 kB / 1.139 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/1.095, allocations: 10.41 kB / 1.139 GB, free: 14.93 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.0003442/1.095, allocations: 218.2 kB / 1.139 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.095, allocations: 57.8 kB / 1.139 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.008e-05/1.095, allocations: 58.77 kB / 1.14 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.095, allocations: 2.781 kB / 1.14 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.095, allocations: 2.125 kB / 1.14 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007073/1.096, allocations: 0.5314 MB / 1.14 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/1.097, allocations: 0.9222 MB / 1.141 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.097, allocations: 0 / 1.141 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/1.097, allocations: 41.66 kB / 1.141 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/1.098, allocations: 65.95 kB / 1.141 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.098, allocations: 5.953 kB / 1.141 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/1.099, allocations: 1.821 MB / 1.143 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.099, allocations: 1.219 kB / 1.143 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/1.1, allocations: 441.5 kB / 1.143 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/1.1, allocations: 167.8 kB / 1.143 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/1.101, allocations: 8.844 kB / 1.143 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/1.101, allocations: 37.39 kB / 1.143 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/1.101, allocations: 28.45 kB / 1.143 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/1.101, allocations: 15.2 kB / 1.143 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005689/1.102, allocations: 399.2 kB / 1.144 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.71e-07/1.102, allocations: 0 / 1.144 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008431/1.103, allocations: 210.3 kB / 1.144 GB, free: 12.27 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.0004387/1.103, allocations: 159.4 kB / 1.144 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009815/1.104, allocations: 0.5446 MB / 1.145 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.104, allocations: 1.312 kB / 1.145 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/1.104, allocations: 257.5 kB / 1.145 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.106, allocations: 367.2 kB / 1.145 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.108, allocations: 1.251 MB / 1.147 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/1.109, allocations: 0.904 MB / 1.147 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/1.109, allocations: 41.19 kB / 1.148 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/1.109, allocations: 0 / 1.148 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.0225/1.132, allocations: 13.42 MB / 1.161 GB, free: 7.754 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