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: "" <> 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.006995/0.006995, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.00165/0.00165, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.452/2.452, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.11 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7168, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1602/0.8771, allocations: 171.1 MB / 1.374 GB, free: 1.852 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006248/0.8834, allocations: 4.295 MB / 1.378 GB, free: 13.55 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.8842, allocations: 23.88 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.8853, allocations: 350 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.8882, allocations: 1.221 MB / 1.38 GB, free: 11.95 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.8901, allocations: 0.7939 MB / 1.381 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.8922, allocations: 1.699 MB / 1.382 GB, free: 9.457 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.893, allocations: 0.5542 MB / 1.383 GB, free: 8.906 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.8943, allocations: 0.6966 MB / 1.384 GB, free: 8.207 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.8956, allocations: 0.5551 MB / 1.384 GB, free: 7.652 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.8957, allocations: 68 kB / 1.384 GB, free: 7.586 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.8973, allocations: 0.799 MB / 1.385 GB, free: 6.785 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.8976, allocations: 263.3 kB / 1.385 GB, free: 6.527 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.8982, allocations: 406.3 kB / 1.386 GB, free: 6.129 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.8999, allocations: 1.278 MB / 1.387 GB, free: 4.848 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9, allocations: 0 / 1.387 GB, free: 4.848 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9, allocations: 0 / 1.387 GB, free: 4.848 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.058e-05/0.9, allocations: 0 / 1.387 GB, free: 4.848 MB / 1.107 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.001969/0.902, allocations: 1.029 MB / 1.388 GB, free: 3.766 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.902, allocations: 12.03 kB / 1.388 GB, free: 3.754 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.9022, allocations: 98.52 kB / 1.388 GB, free: 3.648 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.9032, allocations: 163 kB / 1.388 GB, free: 3.488 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.904, allocations: 0.5483 MB / 1.389 GB, free: 2.902 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.9041, allocations: 41.31 kB / 1.389 GB, free: 2.863 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.9042, allocations: 51.94 kB / 1.389 GB, free: 2.812 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.9052, allocations: 0.644 MB / 1.389 GB, free: 2.152 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9052, allocations: 0 / 1.389 GB, free: 2.152 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.9053, allocations: 28 kB / 1.39 GB, free: 2.125 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.9053, allocations: 25.31 kB / 1.39 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.9062, allocations: 0.5125 MB / 1.39 GB, free: 1.586 MB / 1.107 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.003137/0.9093, allocations: 2.293 MB / 1.392 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.9098, allocations: 250.8 kB / 1.393 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.9101, allocations: 138.3 kB / 1.393 GB, free: 14.73 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.9101, allocations: 7.938 kB / 1.393 GB, free: 14.73 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9101, allocations: 38.56 kB / 1.393 GB, free: 14.68 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.9101, allocations: 0 / 1.393 GB, free: 14.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001569/0.9117, allocations: 0.6751 MB / 1.393 GB, free: 13.96 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.9118, allocations: 81.11 kB / 1.393 GB, free: 13.86 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.9124, allocations: 0.5536 MB / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.9124, allocations: 33.7 kB / 1.394 GB, free: 13.25 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.9126, allocations: 339 kB / 1.394 GB, free: 12.92 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.9127, allocations: 71 kB / 1.394 GB, free: 12.85 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.9128, allocations: 70.03 kB / 1.394 GB, free: 12.77 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.913, allocations: 362.7 kB / 1.395 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.9132, allocations: 128.6 kB / 1.395 GB, free: 12.29 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.9135, allocations: 222.5 kB / 1.395 GB, free: 12.04 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.914, allocations: 332.8 kB / 1.395 GB, free: 11.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.914, allocations: 7.938 kB / 1.395 GB, free: 11.67 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008573/0.9149, allocations: 0.4905 MB / 1.396 GB, free: 11.17 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.9149, allocations: 8 kB / 1.396 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9149, allocations: 4 kB / 1.396 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.9152, allocations: 97.86 kB / 1.396 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.9155, allocations: 71.91 kB / 1.396 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.9183, allocations: 3.338 MB / 1.399 GB, free: 7.363 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.9188, allocations: 55.38 kB / 1.399 GB, free: 7.309 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.9188, allocations: 12 kB / 1.399 GB, free: 7.297 MB / 1.123 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.0002733/0.9191, allocations: 221.8 kB / 1.4 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.9192, allocations: 51.44 kB / 1.4 GB, free: 7.02 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.3e-05/0.9193, allocations: 52.52 kB / 1.4 GB, free: 6.969 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.9193, allocations: 7.984 kB / 1.4 GB, free: 6.961 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9193, allocations: 3.938 kB / 1.4 GB, free: 6.957 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006684/0.92, allocations: 0.5267 MB / 1.4 GB, free: 6.359 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.9212, allocations: 0.9182 MB / 1.401 GB, free: 5.375 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9212, allocations: 0 / 1.401 GB, free: 5.375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.9214, allocations: 35.98 kB / 1.401 GB, free: 5.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.9217, allocations: 72.86 kB / 1.401 GB, free: 5.266 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.9217, allocations: 4.188 kB / 1.401 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.9233, allocations: 1.828 MB / 1.403 GB, free: 3.293 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9233, allocations: 7.969 kB / 1.403 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.9239, allocations: 429.4 kB / 1.403 GB, free: 2.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.9241, allocations: 168.3 kB / 1.404 GB, free: 2.656 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.9242, allocations: 7.938 kB / 1.404 GB, free: 2.648 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.9247, allocations: 26.41 kB / 1.404 GB, free: 2.625 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.9247, allocations: 15.98 kB / 1.404 GB, free: 2.609 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.9248, allocations: 15.92 kB / 1.404 GB, free: 2.594 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004437/0.9252, allocations: 410.8 kB / 1.404 GB, free: 2.195 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9252, allocations: 0 / 1.404 GB, free: 2.195 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006138/0.9259, allocations: 207.6 kB / 1.404 GB, free: 1.992 MB / 1.123 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.001106/0.927, allocations: 1.026 MB / 1.405 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008383/0.9278, allocations: 0.5287 MB / 1.406 GB, free: 396 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9278, allocations: 8.062 kB / 1.406 GB, free: 388 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.9282, allocations: 258.5 kB / 1.406 GB, free: 116 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.9297, allocations: 371.1 kB / 1.406 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.9355, allocations: 4.453 MB / 1.411 GB, free: 11.14 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.936, allocations: 0.9054 MB / 1.412 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004168/0.9364, allocations: 116.8 kB / 1.412 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.9367, allocations: 195.4 kB / 1.412 GB, free: 9.902 MB / 1.139 GB Notification: Performance of SimCode: time 6.71e-07/0.9367, allocations: 0 / 1.412 GB, free: 9.902 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.9792, allocations: 18.09 MB / 1.43 GB, free: 8.195 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.63, allocations: 0 / 1.43 GB, free: 8.195 MB / 1.154 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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