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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005494/0.005494, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001094/0.001094, allocations: 190 kB / 16.67 MB, free: 5.934 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.513/2.513, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8387/0.8401, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1763/1.016, allocations: 171.1 MB / 1.387 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006825/1.023, allocations: 4.304 MB / 1.391 GB, free: 2.25 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/1.024, allocations: 23.88 kB / 1.391 GB, free: 2.227 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/1.026, allocations: 369.9 kB / 1.391 GB, free: 1.863 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003873/1.029, allocations: 1.26 MB / 1.393 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/1.032, allocations: 0.8048 MB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002619/1.035, allocations: 1.695 MB / 1.395 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/1.036, allocations: 0.5582 MB / 1.396 GB, free: 13.54 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/1.037, allocations: 0.7239 MB / 1.396 GB, free: 12.81 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/1.039, allocations: 0.5488 MB / 1.397 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/1.039, allocations: 68 kB / 1.397 GB, free: 12.19 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/1.041, allocations: 0.799 MB / 1.398 GB, free: 11.39 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/1.041, allocations: 267.2 kB / 1.398 GB, free: 11.13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007145/1.042, allocations: 402.3 kB / 1.398 GB, free: 10.73 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/1.044, allocations: 1.278 MB / 1.4 GB, free: 9.453 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.044, allocations: 0 / 1.4 GB, free: 9.453 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.144e-06/1.044, allocations: 3.938 kB / 1.4 GB, free: 9.449 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.35e-05/1.044, allocations: 0 / 1.4 GB, free: 9.449 MB / 1.123 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.002292/1.047, allocations: 1.047 MB / 1.401 GB, free: 8.348 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.047, allocations: 12.62 kB / 1.401 GB, free: 8.336 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/1.047, allocations: 98.45 kB / 1.401 GB, free: 8.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/1.048, allocations: 171.4 kB / 1.401 GB, free: 8.062 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.049, allocations: 0.5487 MB / 1.401 GB, free: 7.477 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/1.049, allocations: 45.31 kB / 1.401 GB, free: 7.434 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/1.049, allocations: 48 kB / 1.401 GB, free: 7.387 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/1.05, allocations: 0.6479 MB / 1.402 GB, free: 6.723 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.05, allocations: 0 / 1.402 GB, free: 6.723 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/1.05, allocations: 28 kB / 1.402 GB, free: 6.695 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/1.05, allocations: 25.31 kB / 1.402 GB, free: 6.668 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/1.051, allocations: 0.5125 MB / 1.403 GB, free: 6.156 MB / 1.123 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.003502/1.055, allocations: 2.298 MB / 1.405 GB, free: 3.695 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/1.055, allocations: 254.8 kB / 1.405 GB, free: 3.438 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/1.056, allocations: 138.8 kB / 1.405 GB, free: 3.301 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/1.056, allocations: 7.984 kB / 1.405 GB, free: 3.293 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.056, allocations: 38.56 kB / 1.405 GB, free: 3.246 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/1.056, allocations: 3.938 kB / 1.405 GB, free: 3.242 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001679/1.057, allocations: 0.6691 MB / 1.406 GB, free: 2.523 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/1.057, allocations: 81.11 kB / 1.406 GB, free: 2.426 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/1.058, allocations: 0.5574 MB / 1.407 GB, free: 1.859 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/1.058, allocations: 33.7 kB / 1.407 GB, free: 1.82 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/1.058, allocations: 347.7 kB / 1.407 GB, free: 1.477 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/1.058, allocations: 75.42 kB / 1.407 GB, free: 1.402 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.059, allocations: 65.98 kB / 1.407 GB, free: 1.332 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.059, allocations: 366.7 kB / 1.407 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/1.059, allocations: 132.6 kB / 1.408 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/1.059, allocations: 222.5 kB / 1.408 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/1.06, allocations: 328.9 kB / 1.408 GB, free: 240 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.06, allocations: 4 kB / 1.408 GB, free: 236 kB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009294/1.061, allocations: 494.8 kB / 1.409 GB, free: 15.73 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.061, allocations: 11.94 kB / 1.409 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.061, allocations: 4 kB / 1.409 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/1.061, allocations: 97.92 kB / 1.409 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/1.061, allocations: 71.91 kB / 1.409 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/1.064, allocations: 3.345 MB / 1.412 GB, free: 11.92 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/1.065, allocations: 55.61 kB / 1.412 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/1.065, allocations: 12 kB / 1.412 GB, free: 11.86 MB / 1.139 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.000295/1.065, allocations: 221.7 kB / 1.412 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.065, allocations: 55.67 kB / 1.412 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/1.065, allocations: 56.5 kB / 1.412 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.065, allocations: 7.938 kB / 1.412 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/1.065, allocations: 192 / 1.412 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006854/1.066, allocations: 0.5322 MB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.067, allocations: 0.9144 MB / 1.414 GB, free: 9.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.067, allocations: 0 / 1.414 GB, free: 9.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/1.068, allocations: 39.97 kB / 1.414 GB, free: 9.891 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/1.068, allocations: 72.81 kB / 1.414 GB, free: 9.816 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.068, allocations: 4 kB / 1.414 GB, free: 9.812 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/1.07, allocations: 1.825 MB / 1.416 GB, free: 7.848 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.07, allocations: 0 / 1.416 GB, free: 7.848 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/1.07, allocations: 433.7 kB / 1.416 GB, free: 7.398 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/1.07, allocations: 176.6 kB / 1.416 GB, free: 7.207 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/1.071, allocations: 12.12 kB / 1.416 GB, free: 7.195 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/1.071, allocations: 19.98 kB / 1.416 GB, free: 7.176 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/1.071, allocations: 23.91 kB / 1.416 GB, free: 7.152 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/1.071, allocations: 8 kB / 1.416 GB, free: 7.145 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004441/1.072, allocations: 406.8 kB / 1.417 GB, free: 6.75 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.072, allocations: 3.938 kB / 1.417 GB, free: 6.746 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006405/1.072, allocations: 203.7 kB / 1.417 GB, free: 6.547 MB / 1.139 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.001173/1.073, allocations: 1.045 MB / 1.418 GB, free: 5.477 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008818/1.074, allocations: 0.5287 MB / 1.418 GB, free: 4.922 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.074, allocations: 4 kB / 1.418 GB, free: 4.918 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/1.075, allocations: 254.5 kB / 1.419 GB, free: 4.656 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/1.076, allocations: 383.3 kB / 1.419 GB, free: 4.297 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/1.082, allocations: 4.469 MB / 1.423 GB, free: 15.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/1.083, allocations: 0.9054 MB / 1.424 GB, free: 14.72 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004194/1.083, allocations: 112.8 kB / 1.424 GB, free: 14.61 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/1.083, allocations: 191.4 kB / 1.425 GB, free: 14.42 MB / 1.154 GB Notification: Performance of SimCode: time 1.723e-06/1.083, allocations: 0 / 1.425 GB, free: 14.42 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/1.124, allocations: 17.8 MB / 1.442 GB, free: 13 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.17, allocations: 19.31 kB / 1.442 GB, free: 12.98 MB / 1.17 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/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