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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001074/0.001078, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00617/0.00617, allocations: 170 kB / 16.26 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.000348, allocations: 20.09 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2995, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1869/0.4864, allocations: 166.6 MB / 1.221 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006336/0.4928, allocations: 4.308 MB / 1.226 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006764/0.4935, allocations: 19.88 kB / 1.226 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009415/0.4945, allocations: 306.5 kB / 1.226 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.4972, allocations: 1.148 MB / 1.227 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4992, allocations: 0.726 MB / 1.228 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00269/0.5019, allocations: 2.362 MB / 1.23 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.5027, allocations: 477.7 kB / 1.23 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.5039, allocations: 0.5678 MB / 1.231 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.505, allocations: 0.5544 MB / 1.232 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.5051, allocations: 24 kB / 1.232 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.5067, allocations: 0.9156 MB / 1.232 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.5069, allocations: 227.3 kB / 1.233 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.5073, allocations: 384 kB / 1.233 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.5088, allocations: 1.258 MB / 1.234 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5088, allocations: 0 / 1.234 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5088, allocations: 0 / 1.234 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.5089, allocations: 0 / 1.234 GB, free: 0.9766 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.001644/0.5105, allocations: 0.9001 MB / 1.235 GB, free: 24 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5106, allocations: 8.031 kB / 1.235 GB, free: 16 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.5116, allocations: 167 kB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.5123, allocations: 0.5287 MB / 1.236 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.5124, allocations: 37.31 kB / 1.236 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.5125, allocations: 52 kB / 1.236 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5136, allocations: 0.6596 MB / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5136, allocations: 0 / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.5137, allocations: 24 kB / 1.237 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.5138, allocations: 25.31 kB / 1.237 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.5147, allocations: 0.5243 MB / 1.237 GB, free: 13.95 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.003285/0.518, allocations: 2.309 MB / 1.239 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.5186, allocations: 258.8 kB / 1.24 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.5189, allocations: 144.7 kB / 1.24 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.5189, allocations: 4 kB / 1.24 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.519, allocations: 38.56 kB / 1.24 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 3.336e-06/0.519, allocations: 0 / 1.24 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.002017/0.521, allocations: 0.6858 MB / 1.24 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.5211, allocations: 85.05 kB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.5218, allocations: 0.5536 MB / 1.241 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.5219, allocations: 37.7 kB / 1.241 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.5222, allocations: 335 kB / 1.241 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.5223, allocations: 75.03 kB / 1.242 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.5223, allocations: 29.7 kB / 1.242 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5225, allocations: 362.7 kB / 1.242 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.5228, allocations: 140.5 kB / 1.242 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.5231, allocations: 222.6 kB / 1.242 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.5237, allocations: 344.3 kB / 1.243 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5237, allocations: 0 / 1.243 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009253/0.5246, allocations: 0.5027 MB / 1.243 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5247, allocations: 8 kB / 1.243 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5247, allocations: 4 kB / 1.243 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.525, allocations: 101.9 kB / 1.243 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.5253, allocations: 67.91 kB / 1.243 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.5281, allocations: 3.107 MB / 1.246 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.5287, allocations: 67.47 kB / 1.246 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.5287, allocations: 12 kB / 1.246 GB, free: 3.867 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.0002923/0.529, allocations: 215.4 kB / 1.247 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.5291, allocations: 55.44 kB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5292, allocations: 56.5 kB / 1.247 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5292, allocations: 4 kB / 1.247 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5292, allocations: 4.188 kB / 1.247 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000732/0.53, allocations: 0.5399 MB / 1.247 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5313, allocations: 0.9311 MB / 1.248 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5313, allocations: 4 kB / 1.248 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.5315, allocations: 44.03 kB / 1.248 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.5318, allocations: 64.75 kB / 1.248 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.5318, allocations: 8 kB / 1.248 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6084/1.14, allocations: 1.683 MB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/1.14, allocations: 0.7188 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/1.141, allocations: 445.5 kB / 1.25 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/1.142, allocations: 172.8 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/1.142, allocations: 1.922 kB / 1.25 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/1.142, allocations: 44.42 kB / 1.251 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/1.142, allocations: 22.02 kB / 1.251 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/1.142, allocations: 17.73 kB / 1.251 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006116/1.143, allocations: 402.2 kB / 1.251 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.143, allocations: 0 / 1.251 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008441/1.144, allocations: 202.7 kB / 1.251 GB, free: 191.5 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.0004406/1.144, allocations: 167.8 kB / 1.251 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.145, allocations: 0.5426 MB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.145, allocations: 1.031 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/1.146, allocations: 266 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/1.148, allocations: 368.2 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/1.149, allocations: 1.238 MB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/1.15, allocations: 0.9032 MB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004736/1.15, allocations: 117 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/1.15, allocations: 38.81 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.15, allocations: 0 / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02346/1.174, allocations: 12.32 MB / 1.267 GB, free: 188.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches