Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001549/0.001549, allocations: 103 kB / 16.35 MB, free: 5.875 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.001642/0.001642, allocations: 196.1 kB / 17.3 MB, free: 5.516 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.17 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.314, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6959/1.01, allocations: 171.1 MB / 1.186 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006674/1.017, allocations: 4.29 MB / 1.19 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007952/1.018, allocations: 23.5 kB / 1.19 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/1.019, allocations: 357.7 kB / 1.19 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00313/1.022, allocations: 1.225 MB / 1.192 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/1.024, allocations: 0.7889 MB / 1.192 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002087/1.026, allocations: 1.695 MB / 1.194 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/1.027, allocations: 0.5629 MB / 1.195 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/1.028, allocations: 0.6752 MB / 1.195 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/1.029, allocations: 0.5539 MB / 1.196 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/1.029, allocations: 64.22 kB / 1.196 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/1.031, allocations: 0.7951 MB / 1.197 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/1.031, allocations: 275.6 kB / 1.197 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004338/1.032, allocations: 409 kB / 1.197 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/1.033, allocations: 1.263 MB / 1.198 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.033, allocations: 0 / 1.198 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.814e-06/1.033, allocations: 3.938 kB / 1.198 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.033, allocations: 0 / 1.198 GB, free: 11.55 MB / 0.9044 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.001728/1.035, allocations: 1.027 MB / 1.199 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.035, allocations: 11.17 kB / 1.199 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/1.036, allocations: 172.2 kB / 1.2 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/1.037, allocations: 0.5471 MB / 1.2 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/1.037, allocations: 43.88 kB / 1.2 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/1.037, allocations: 51.25 kB / 1.2 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.038, allocations: 0.6456 MB / 1.201 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/1.038, allocations: 3.938 kB / 1.201 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/1.038, allocations: 21.44 kB / 1.201 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/1.038, allocations: 30.62 kB / 1.201 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/1.039, allocations: 0.5099 MB / 1.201 GB, free: 9.496 MB / 0.9044 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.003151/1.042, allocations: 2.297 MB / 1.204 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/1.043, allocations: 256.6 kB / 1.204 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/1.043, allocations: 134.6 kB / 1.204 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.043, allocations: 2.719 kB / 1.204 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/1.043, allocations: 40.59 kB / 1.204 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/1.043, allocations: 0 / 1.204 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001603/1.045, allocations: 0.678 MB / 1.205 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.045, allocations: 79.61 kB / 1.205 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/1.045, allocations: 0.5522 MB / 1.205 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/1.045, allocations: 32.45 kB / 1.205 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/1.046, allocations: 336.7 kB / 1.206 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/1.046, allocations: 77.16 kB / 1.206 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.046, allocations: 69.31 kB / 1.206 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.046, allocations: 362.9 kB / 1.206 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/1.046, allocations: 130.6 kB / 1.206 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/1.047, allocations: 214.8 kB / 1.207 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/1.047, allocations: 327.4 kB / 1.207 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.047, allocations: 0 / 1.207 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009459/1.048, allocations: 0.4946 MB / 1.207 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.048, allocations: 7.344 kB / 1.207 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.048, allocations: 2.75 kB / 1.207 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/1.048, allocations: 98.7 kB / 1.207 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.049, allocations: 67.53 kB / 1.208 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/1.052, allocations: 3.342 MB / 1.211 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/1.052, allocations: 50.66 kB / 1.211 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.052, allocations: 13.88 kB / 1.211 GB, free: 1.621 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.0003273/1.053, allocations: 223 kB / 1.211 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.053, allocations: 55.53 kB / 1.211 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/1.053, allocations: 50.11 kB / 1.211 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.053, allocations: 6.047 kB / 1.211 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.053, allocations: 0 / 1.211 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006855/1.054, allocations: 0.539 MB / 1.212 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/1.055, allocations: 0.9181 MB / 1.213 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.055, allocations: 3.938 kB / 1.213 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/1.055, allocations: 41.2 kB / 1.213 GB, free: 168 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/1.055, allocations: 70.05 kB / 1.213 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.055, allocations: 4 kB / 1.213 GB, free: 124 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/1.057, allocations: 1.822 MB / 1.214 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.057, allocations: 0 / 1.214 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/1.058, allocations: 446 kB / 1.215 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/1.058, allocations: 169.6 kB / 1.215 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/1.058, allocations: 7 kB / 1.215 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/1.059, allocations: 25.09 kB / 1.215 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/1.059, allocations: 17.67 kB / 1.215 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/1.059, allocations: 19.98 kB / 1.215 GB, free: 13.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004997/1.059, allocations: 399.4 kB / 1.216 GB, free: 13.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.059, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006968/1.06, allocations: 198.8 kB / 1.216 GB, free: 13.67 MB / 0.92 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.0003723/1.06, allocations: 155.1 kB / 1.216 GB, free: 13.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009396/1.061, allocations: 0.5413 MB / 1.216 GB, free: 13.17 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.061, allocations: 0 / 1.216 GB, free: 13.17 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00036/1.062, allocations: 256.7 kB / 1.217 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.063, allocations: 375.4 kB / 1.217 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/1.065, allocations: 0.9768 MB / 1.218 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/1.065, allocations: 0.9093 MB / 1.219 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004194/1.066, allocations: 124.7 kB / 1.219 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/1.066, allocations: 35.44 kB / 1.219 GB, free: 10.81 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.066, allocations: 0 / 1.219 GB, free: 10.81 MB / 0.92 GB Notification: Performance of Templates: time 0.02221/1.088, allocations: 13.01 MB / 1.232 GB, free: 14.01 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches