Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001389/0.001389, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002329/0.002329, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.838/1.838, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8.625 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1807/0.5318, allocations: 166.6 MB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007503/0.5393, allocations: 4.309 MB / 1.226 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.5405, allocations: 19.88 kB / 1.226 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.5419, allocations: 314.4 kB / 1.227 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.5459, allocations: 1.144 MB / 1.228 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.5483, allocations: 0.7268 MB / 1.228 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.5518, allocations: 2.354 MB / 1.231 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.5529, allocations: 469.8 kB / 1.231 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.5545, allocations: 0.5717 MB / 1.232 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.5564, allocations: 0.5695 MB / 1.232 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.5566, allocations: 24 kB / 1.232 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.5589, allocations: 0.9079 MB / 1.233 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.5593, allocations: 223.3 kB / 1.233 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.5602, allocations: 387.9 kB / 1.234 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.5618, allocations: 0.9274 MB / 1.235 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5618, allocations: 0 / 1.235 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5618, allocations: 0 / 1.235 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.8e-05/0.5619, allocations: 0 / 1.235 GB, free: 0.8281 MB / 0.9825 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.002371/0.5642, allocations: 0.9079 MB / 1.236 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5643, allocations: 12.03 kB / 1.236 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.5655, allocations: 167 kB / 1.236 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.5665, allocations: 0.5171 MB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.5666, allocations: 45.31 kB / 1.236 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.5667, allocations: 55.94 kB / 1.236 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.568, allocations: 0.6557 MB / 1.237 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.568, allocations: 0 / 1.237 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.5681, allocations: 28 kB / 1.237 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.5681, allocations: 21.31 kB / 1.237 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.5692, allocations: 0.5243 MB / 1.237 GB, free: 13.79 MB / 0.9981 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.004245/0.5735, allocations: 2.309 MB / 1.24 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.5741, allocations: 254.8 kB / 1.24 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.5743, allocations: 149.8 kB / 1.24 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.5744, allocations: 0 / 1.24 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5744, allocations: 38.56 kB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.5744, allocations: 0 / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001893/0.5763, allocations: 0.6939 MB / 1.241 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.5764, allocations: 85.05 kB / 1.241 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.5772, allocations: 0.5536 MB / 1.241 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.5773, allocations: 29.7 kB / 1.241 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.5776, allocations: 339 kB / 1.242 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.5776, allocations: 67.03 kB / 1.242 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.5777, allocations: 33.7 kB / 1.242 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.5779, allocations: 366.7 kB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.5782, allocations: 136.6 kB / 1.242 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.5785, allocations: 222.6 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.5792, allocations: 344.8 kB / 1.243 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5792, allocations: 0 / 1.243 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001092/0.5803, allocations: 0.5064 MB / 1.243 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5803, allocations: 8 kB / 1.243 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5803, allocations: 4 kB / 1.243 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.5807, allocations: 85.66 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.581, allocations: 79.89 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.5854, allocations: 3.11 MB / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.5862, allocations: 67.48 kB / 1.247 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.5863, allocations: 8 kB / 1.247 GB, free: 3.711 MB / 0.9981 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.000481/0.5868, allocations: 221.7 kB / 1.247 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.5869, allocations: 55.44 kB / 1.247 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.5871, allocations: 52.5 kB / 1.247 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5871, allocations: 4 kB / 1.247 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5871, allocations: 0 / 1.247 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000895/0.588, allocations: 0.5477 MB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.59, allocations: 0.9278 MB / 1.248 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.59, allocations: 0 / 1.248 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.5903, allocations: 43.91 kB / 1.249 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.5905, allocations: 76.73 kB / 1.249 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.5906, allocations: 0 / 1.249 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7122/1.303, allocations: 1.679 MB / 1.25 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/1.303, allocations: 0.875 kB / 1.25 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/1.304, allocations: 452.3 kB / 1.251 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/1.304, allocations: 171 kB / 1.251 GB, free: 20.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/1.304, allocations: 5.062 kB / 1.251 GB, free: 20.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/1.305, allocations: 38.61 kB / 1.251 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/1.305, allocations: 21.58 kB / 1.251 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/1.305, allocations: 14.73 kB / 1.251 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005982/1.306, allocations: 403.3 kB / 1.251 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.306, allocations: 0.625 kB / 1.251 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007865/1.306, allocations: 207.1 kB / 1.251 GB, free: 20.78 MB / 0.9981 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.0004466/1.307, allocations: 162.1 kB / 1.252 GB, free: 20.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009451/1.308, allocations: 0.5325 MB / 1.252 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.308, allocations: 4.219 kB / 1.252 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/1.308, allocations: 266.9 kB / 1.252 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.31, allocations: 353.8 kB / 1.253 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/1.312, allocations: 1.286 MB / 1.254 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/1.312, allocations: 0.9064 MB / 1.255 GB, free: 19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/1.312, allocations: 40.59 kB / 1.255 GB, free: 19 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.312, allocations: 0 / 1.255 GB, free: 19 MB / 0.9981 GB Notification: Performance of Templates: time 0.02171/1.334, allocations: 13.34 MB / 1.268 GB, free: 18.13 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches