Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001578/0.001578, allocations: 108.1 kB / 15.99 MB, free: 5.906 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.001682/0.001682, allocations: 195.4 kB / 16.91 MB, free: 5.754 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.483/1.483, allocations: 222.9 MB / 240.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 64.14 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 159.2 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7935/1.13, allocations: 168.8 MB / 1.229 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007756/1.138, allocations: 4.273 MB / 1.233 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/1.139, allocations: 19.12 kB / 1.233 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/1.14, allocations: 315 kB / 1.233 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/1.144, allocations: 1.146 MB / 1.235 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/1.147, allocations: 0.7388 MB / 1.235 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002766/1.149, allocations: 1.687 MB / 1.237 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/1.15, allocations: 0.5504 MB / 1.237 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/1.152, allocations: 0.6887 MB / 1.238 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/1.154, allocations: 0.5855 MB / 1.239 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/1.154, allocations: 68 kB / 1.239 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/1.156, allocations: 0.8338 MB / 1.24 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004801/1.157, allocations: 275.3 kB / 1.24 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008608/1.158, allocations: 410.2 kB / 1.24 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/1.159, allocations: 0.955 MB / 1.241 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.159, allocations: 0 / 1.241 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.635e-06/1.159, allocations: 0 / 1.241 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.848e-05/1.159, allocations: 0 / 1.241 GB, free: 3.758 MB / 0.9512 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.002546/1.162, allocations: 1.041 MB / 1.242 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.162, allocations: 8.031 kB / 1.242 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.163, allocations: 167.1 kB / 1.242 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009901/1.164, allocations: 0.521 MB / 1.243 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/1.164, allocations: 45.23 kB / 1.243 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/1.164, allocations: 52 kB / 1.243 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.166, allocations: 0.6479 MB / 1.244 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.166, allocations: 0 / 1.244 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/1.166, allocations: 28 kB / 1.244 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/1.166, allocations: 25.25 kB / 1.244 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/1.167, allocations: 0.5087 MB / 1.244 GB, free: 0.6094 MB / 0.9512 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.004044/1.171, allocations: 2.301 MB / 1.246 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/1.171, allocations: 258.8 kB / 1.247 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/1.172, allocations: 136.8 kB / 1.247 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/1.172, allocations: 4 kB / 1.247 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.172, allocations: 42.5 kB / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/1.172, allocations: 0 / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001834/1.174, allocations: 0.6668 MB / 1.247 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.174, allocations: 85.05 kB / 1.248 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/1.175, allocations: 0.5574 MB / 1.248 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/1.175, allocations: 37.69 kB / 1.248 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/1.175, allocations: 335.1 kB / 1.248 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/1.175, allocations: 71 kB / 1.249 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/1.175, allocations: 73.92 kB / 1.249 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.175, allocations: 358.7 kB / 1.249 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/1.176, allocations: 128.6 kB / 1.249 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/1.176, allocations: 222.5 kB / 1.249 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/1.177, allocations: 336.3 kB / 1.25 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.177, allocations: 0 / 1.25 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001038/1.178, allocations: 0.4944 MB / 1.25 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.178, allocations: 4 kB / 1.25 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.178, allocations: 4 kB / 1.25 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/1.178, allocations: 99.25 kB / 1.25 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/1.178, allocations: 71.89 kB / 1.25 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/1.182, allocations: 3.357 MB / 1.254 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/1.183, allocations: 59.39 kB / 1.254 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/1.183, allocations: 16 kB / 1.254 GB, free: 6.293 MB / 0.9669 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.0003462/1.183, allocations: 213.7 kB / 1.254 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.183, allocations: 55.34 kB / 1.254 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/1.183, allocations: 60.5 kB / 1.254 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.183, allocations: 0 / 1.254 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.183, allocations: 0 / 1.254 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008109/1.184, allocations: 0.5365 MB / 1.254 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/1.185, allocations: 0.9167 MB / 1.255 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.185, allocations: 4 kB / 1.255 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.186, allocations: 43.91 kB / 1.255 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/1.186, allocations: 64.88 kB / 1.255 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.186, allocations: 7.984 kB / 1.255 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/1.188, allocations: 1.815 MB / 1.257 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.188, allocations: 3.938 kB / 1.257 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/1.189, allocations: 437.3 kB / 1.258 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/1.189, allocations: 172.3 kB / 1.258 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/1.189, allocations: 8.312 kB / 1.258 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/1.189, allocations: 37.59 kB / 1.258 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/1.189, allocations: 19.97 kB / 1.258 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/1.189, allocations: 12 kB / 1.258 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004913/1.19, allocations: 398.8 kB / 1.258 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.19, allocations: 3.938 kB / 1.258 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007276/1.191, allocations: 207.6 kB / 1.258 GB, free: 0.9844 MB / 0.9669 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.0004459/1.191, allocations: 175 kB / 1.259 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.192, allocations: 0.5385 MB / 1.259 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.192, allocations: 4 kB / 1.259 GB, free: 252 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/1.193, allocations: 265.2 kB / 1.259 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.194, allocations: 369.5 kB / 1.26 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.196, allocations: 1.236 MB / 1.261 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/1.197, allocations: 0.9015 MB / 1.262 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.197, allocations: 39.44 kB / 1.262 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/1.197, allocations: 0 / 1.262 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.02107/1.218, allocations: 13.42 MB / 1.275 GB, free: 60 kB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches