Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_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.005094/0.005094, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001448/0.001448, allocations: 193.2 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.268/2.268, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.83 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.597/0.5988, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1641/0.7629, allocations: 171.1 MB / 1.333 GB, free: 8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005627/0.7686, allocations: 4.304 MB / 1.337 GB, free: 3.684 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.769, allocations: 19.88 kB / 1.337 GB, free: 3.664 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.7698, allocations: 346 kB / 1.338 GB, free: 3.324 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.772, allocations: 1.229 MB / 1.339 GB, free: 2.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.7736, allocations: 0.785 MB / 1.34 GB, free: 1.309 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.7753, allocations: 1.707 MB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006318/0.7759, allocations: 0.5543 MB / 1.342 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/0.7768, allocations: 0.6849 MB / 1.343 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009844/0.7778, allocations: 0.5551 MB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.7779, allocations: 64 kB / 1.343 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.7791, allocations: 0.799 MB / 1.344 GB, free: 12.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.7794, allocations: 259.3 kB / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.7798, allocations: 414.2 kB / 1.345 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.7812, allocations: 1.274 MB / 1.346 GB, free: 11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7812, allocations: 3.984 kB / 1.346 GB, free: 11 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7812, allocations: 0 / 1.346 GB, free: 11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.7812, allocations: 0 / 1.346 GB, free: 11 MB / 1.076 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.001546/0.7828, allocations: 1.055 MB / 1.347 GB, free: 9.887 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.7828, allocations: 8.625 kB / 1.347 GB, free: 9.879 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.7829, allocations: 94.52 kB / 1.347 GB, free: 9.777 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.7838, allocations: 167.4 kB / 1.347 GB, free: 9.613 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.7845, allocations: 0.5564 MB / 1.348 GB, free: 9.016 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.7846, allocations: 41.31 kB / 1.348 GB, free: 8.977 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.7846, allocations: 52 kB / 1.348 GB, free: 8.926 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.7856, allocations: 0.6401 MB / 1.348 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7857, allocations: 0 / 1.348 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.7857, allocations: 27.98 kB / 1.348 GB, free: 8.242 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.7858, allocations: 33.3 kB / 1.349 GB, free: 8.207 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.7866, allocations: 0.5087 MB / 1.349 GB, free: 7.695 MB / 1.076 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.002897/0.7896, allocations: 2.298 MB / 1.351 GB, free: 5.234 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.79, allocations: 264.8 kB / 1.351 GB, free: 4.969 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.7903, allocations: 142.1 kB / 1.352 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.7903, allocations: 0 / 1.352 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.7904, allocations: 42.56 kB / 1.352 GB, free: 4.777 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 9.61e-07/0.7904, allocations: 0 / 1.352 GB, free: 4.777 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001498/0.7919, allocations: 0.673 MB / 1.352 GB, free: 4.055 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.7919, allocations: 77.11 kB / 1.352 GB, free: 3.961 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.7925, allocations: 0.5574 MB / 1.353 GB, free: 3.395 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.7925, allocations: 29.7 kB / 1.353 GB, free: 3.359 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.7928, allocations: 351.7 kB / 1.353 GB, free: 3.012 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.7929, allocations: 67.44 kB / 1.353 GB, free: 2.945 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.793, allocations: 73.98 kB / 1.353 GB, free: 2.867 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7931, allocations: 370.7 kB / 1.354 GB, free: 2.496 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.7934, allocations: 128.6 kB / 1.354 GB, free: 2.371 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.7937, allocations: 214.7 kB / 1.354 GB, free: 2.129 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.7942, allocations: 333.1 kB / 1.354 GB, free: 1.773 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7942, allocations: 0 / 1.354 GB, free: 1.773 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008469/0.7951, allocations: 0.4914 MB / 1.355 GB, free: 1.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7951, allocations: 7.984 kB / 1.355 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7951, allocations: 7.938 kB / 1.355 GB, free: 1.254 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.7954, allocations: 97.88 kB / 1.355 GB, free: 1.152 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.7957, allocations: 67.91 kB / 1.355 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.7985, allocations: 3.356 MB / 1.358 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.7989, allocations: 51.61 kB / 1.358 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.799, allocations: 12 kB / 1.358 GB, free: 13.38 MB / 1.092 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.0002267/0.7992, allocations: 221.7 kB / 1.359 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.7993, allocations: 55.67 kB / 1.359 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.079e-05/0.7994, allocations: 60.5 kB / 1.359 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7994, allocations: 0 / 1.359 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7994, allocations: 3.938 kB / 1.359 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006934/0.8001, allocations: 0.5365 MB / 1.359 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.8013, allocations: 0.9088 MB / 1.36 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8013, allocations: 0 / 1.36 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.8015, allocations: 43.97 kB / 1.36 GB, free: 11.42 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.8017, allocations: 68.88 kB / 1.36 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.8017, allocations: 0 / 1.36 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.8033, allocations: 1.829 MB / 1.362 GB, free: 9.375 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8034, allocations: 3.938 kB / 1.362 GB, free: 9.371 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.8039, allocations: 437.7 kB / 1.362 GB, free: 8.918 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.8042, allocations: 172.7 kB / 1.363 GB, free: 8.73 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.8042, allocations: 11.94 kB / 1.363 GB, free: 8.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.8046, allocations: 15.98 kB / 1.363 GB, free: 8.703 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.8047, allocations: 15.97 kB / 1.363 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.8047, allocations: 23.92 kB / 1.363 GB, free: 8.664 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004225/0.8052, allocations: 402.8 kB / 1.363 GB, free: 8.273 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8052, allocations: 4 kB / 1.363 GB, free: 8.27 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005152/0.8057, allocations: 203.7 kB / 1.363 GB, free: 8.07 MB / 1.092 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.001079/0.8068, allocations: 1.027 MB / 1.364 GB, free: 7.016 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008075/0.8076, allocations: 0.521 MB / 1.365 GB, free: 6.469 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8076, allocations: 4.062 kB / 1.365 GB, free: 6.465 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.808, allocations: 260.3 kB / 1.365 GB, free: 6.199 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.8095, allocations: 375.7 kB / 1.365 GB, free: 5.844 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.8149, allocations: 4.468 MB / 1.37 GB, free: 1.219 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.8154, allocations: 0.9092 MB / 1.371 GB, free: 288 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003484/0.8158, allocations: 112.8 kB / 1.371 GB, free: 172 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.816, allocations: 195.4 kB / 1.371 GB, free: 15.97 MB / 1.107 GB Notification: Performance of SimCode: time 3.91e-07/0.816, allocations: 0 / 1.371 GB, free: 15.97 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.942/8.758, allocations: 17.81 MB / 1.388 GB, free: 14.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/23.49, allocations: 13.42 kB / 1.388 GB, free: 14.49 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches