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.00167/0.00167, allocations: 107.8 kB / 16.41 MB, free: 6.508 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.001894/0.001894, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 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.212/2.212, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9098, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2162/1.126, allocations: 171.1 MB / 1.256 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008104/1.134, allocations: 4.293 MB / 1.26 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/1.135, allocations: 15.94 kB / 1.26 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/1.137, allocations: 373.9 kB / 1.26 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/1.141, allocations: 1.26 MB / 1.261 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/1.143, allocations: 0.8014 MB / 1.262 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002823/1.146, allocations: 1.699 MB / 1.264 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.147, allocations: 0.5581 MB / 1.264 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/1.149, allocations: 0.7162 MB / 1.265 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/1.151, allocations: 0.555 MB / 1.266 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/1.151, allocations: 64 kB / 1.266 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/1.153, allocations: 0.8106 MB / 1.267 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/1.153, allocations: 259.3 kB / 1.267 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008598/1.154, allocations: 406.3 kB / 1.267 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/1.157, allocations: 1.268 MB / 1.268 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.157, allocations: 0 / 1.268 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.157, allocations: 4 kB / 1.268 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.809e-05/1.157, allocations: 0 / 1.268 GB, free: 5.52 MB / 0.9981 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.002483/1.159, allocations: 1.036 MB / 1.269 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.159, allocations: 8.031 kB / 1.269 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.161, allocations: 163 kB / 1.27 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.162, allocations: 0.5405 MB / 1.27 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/1.162, allocations: 45.3 kB / 1.27 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/1.162, allocations: 52 kB / 1.27 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/1.163, allocations: 0.6479 MB / 1.271 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.163, allocations: 0 / 1.271 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/1.163, allocations: 31.94 kB / 1.271 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/1.163, allocations: 21.31 kB / 1.271 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/1.164, allocations: 0.5126 MB / 1.271 GB, free: 2.355 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.003606/1.168, allocations: 2.297 MB / 1.274 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/1.168, allocations: 250.8 kB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/1.168, allocations: 132.8 kB / 1.274 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/1.169, allocations: 11.94 kB / 1.274 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.169, allocations: 42.55 kB / 1.274 GB, free: 15.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.674e-06/1.169, allocations: 0 / 1.274 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001674/1.17, allocations: 0.6665 MB / 1.275 GB, free: 14.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.17, allocations: 81.11 kB / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/1.171, allocations: 0.5612 MB / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/1.171, allocations: 33.7 kB / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/1.171, allocations: 331.1 kB / 1.276 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/1.171, allocations: 78.98 kB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.172, allocations: 69.94 kB / 1.276 GB, free: 13.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.172, allocations: 362.7 kB / 1.276 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/1.172, allocations: 132.6 kB / 1.276 GB, free: 13.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/1.172, allocations: 210.6 kB / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/1.173, allocations: 336.9 kB / 1.277 GB, free: 12.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.173, allocations: 3.984 kB / 1.277 GB, free: 12.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009163/1.174, allocations: 498.6 kB / 1.277 GB, free: 11.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.174, allocations: 4 kB / 1.277 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.174, allocations: 4 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/1.174, allocations: 93.64 kB / 1.277 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/1.174, allocations: 75.91 kB / 1.277 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/1.178, allocations: 3.338 MB / 1.281 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/1.178, allocations: 55.36 kB / 1.281 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/1.178, allocations: 12 kB / 1.281 GB, free: 8.082 MB / 1.014 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.0003018/1.178, allocations: 214.6 kB / 1.281 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.178, allocations: 55.5 kB / 1.281 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/1.179, allocations: 60.5 kB / 1.281 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.179, allocations: 0 / 1.281 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.179, allocations: 3.938 kB / 1.281 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007007/1.179, allocations: 0.5267 MB / 1.282 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/1.181, allocations: 0.9243 MB / 1.283 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.181, allocations: 0 / 1.283 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.181, allocations: 43.91 kB / 1.283 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/1.181, allocations: 64.81 kB / 1.283 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.181, allocations: 8.25 kB / 1.283 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/1.183, allocations: 1.824 MB / 1.284 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.183, allocations: 3.938 kB / 1.284 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/1.184, allocations: 443.5 kB / 1.285 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/1.184, allocations: 164.3 kB / 1.285 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/1.184, allocations: 15.92 kB / 1.285 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/1.184, allocations: 17.11 kB / 1.285 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/1.184, allocations: 15.98 kB / 1.285 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/1.185, allocations: 11.98 kB / 1.285 GB, free: 3.375 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004617/1.185, allocations: 402.8 kB / 1.285 GB, free: 2.984 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 0 / 1.285 GB, free: 2.984 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006625/1.186, allocations: 203.7 kB / 1.286 GB, free: 2.785 MB / 1.014 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.0004843/1.186, allocations: 172.1 kB / 1.286 GB, free: 2.613 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000965/1.187, allocations: 0.525 MB / 1.286 GB, free: 2.062 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.187, allocations: 8.188 kB / 1.286 GB, free: 2.055 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/1.188, allocations: 260.6 kB / 1.287 GB, free: 1.789 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.189, allocations: 373.5 kB / 1.287 GB, free: 1.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/1.191, allocations: 1.02 MB / 1.288 GB, free: 384 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/1.192, allocations: 0.9093 MB / 1.289 GB, free: 15.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.192, allocations: 39.44 kB / 1.289 GB, free: 15.4 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/1.192, allocations: 0 / 1.289 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Templates: time 0.0195/1.211, allocations: 13.46 MB / 1.302 GB, free: 2.031 MB / 1.029 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