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.00483/0.00483, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.00112/0.001121, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.243/1.243, 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 10.1.1-maint.10.0.x/package.mo): time 2.304/2.304, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.12 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6945, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1693/0.8638, allocations: 171.1 MB / 1.333 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006325/0.8702, allocations: 4.305 MB / 1.337 GB, free: 3.699 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.871, allocations: 19.88 kB / 1.337 GB, free: 3.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.8722, allocations: 369.9 kB / 1.338 GB, free: 3.316 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.8754, allocations: 1.256 MB / 1.339 GB, free: 2.055 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.8775, allocations: 0.8078 MB / 1.34 GB, free: 1.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002293/0.8798, allocations: 1.7 MB / 1.341 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009715/0.8808, allocations: 0.5659 MB / 1.342 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.8824, allocations: 0.7083 MB / 1.343 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.8839, allocations: 0.5584 MB / 1.343 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.8841, allocations: 64 kB / 1.343 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.8859, allocations: 0.8068 MB / 1.344 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.8863, allocations: 263.3 kB / 1.344 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007312/0.887, allocations: 414.2 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.8893, allocations: 1.262 MB / 1.346 GB, free: 10.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.8893, allocations: 0 / 1.346 GB, free: 10.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8893, allocations: 0 / 1.346 GB, free: 10.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.042e-05/0.8894, allocations: 0 / 1.346 GB, free: 10.91 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.002226/0.8916, allocations: 1.036 MB / 1.347 GB, free: 9.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.8917, allocations: 8.922 kB / 1.347 GB, free: 9.812 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.8918, allocations: 102.5 kB / 1.347 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.8929, allocations: 159.1 kB / 1.347 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.8939, allocations: 0.5483 MB / 1.348 GB, free: 8.957 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.8939, allocations: 37.31 kB / 1.348 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.894, allocations: 56 kB / 1.348 GB, free: 8.867 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.8952, allocations: 0.645 MB / 1.348 GB, free: 8.207 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.8952, allocations: 0 / 1.348 GB, free: 8.207 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.8953, allocations: 27.98 kB / 1.349 GB, free: 8.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.8953, allocations: 29.3 kB / 1.349 GB, free: 8.148 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009323/0.8962, allocations: 0.5086 MB / 1.349 GB, free: 7.641 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.003366/0.8996, allocations: 2.289 MB / 1.351 GB, free: 5.188 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.9002, allocations: 262.8 kB / 1.352 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.9004, allocations: 136.7 kB / 1.352 GB, free: 4.785 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.9005, allocations: 4 kB / 1.352 GB, free: 4.781 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.9005, allocations: 38.5 kB / 1.352 GB, free: 4.734 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/0.9005, allocations: 4 kB / 1.352 GB, free: 4.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001753/0.9023, allocations: 0.6713 MB / 1.352 GB, free: 4.012 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.9024, allocations: 81.11 kB / 1.352 GB, free: 3.914 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/0.9031, allocations: 0.5574 MB / 1.353 GB, free: 3.348 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.9032, allocations: 29.7 kB / 1.353 GB, free: 3.312 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.9034, allocations: 343 kB / 1.353 GB, free: 2.973 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.9035, allocations: 67.02 kB / 1.353 GB, free: 2.906 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.9036, allocations: 70.02 kB / 1.353 GB, free: 2.832 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9038, allocations: 362.7 kB / 1.354 GB, free: 2.469 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.904, allocations: 124.6 kB / 1.354 GB, free: 2.348 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.9043, allocations: 222.6 kB / 1.354 GB, free: 2.098 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.9048, allocations: 329.4 kB / 1.354 GB, free: 1.746 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9048, allocations: 7.938 kB / 1.354 GB, free: 1.738 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000954/0.9058, allocations: 0.4991 MB / 1.355 GB, free: 1.227 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9058, allocations: 4 kB / 1.355 GB, free: 1.223 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.9059, allocations: 4 kB / 1.355 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/0.9062, allocations: 93.66 kB / 1.355 GB, free: 1.121 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.9065, allocations: 67.89 kB / 1.355 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.9096, allocations: 3.349 MB / 1.358 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.9101, allocations: 51.38 kB / 1.358 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.9101, allocations: 12 kB / 1.358 GB, free: 13.36 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.0002892/0.9104, allocations: 217.7 kB / 1.359 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.9106, allocations: 55.44 kB / 1.359 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-05/0.9107, allocations: 52.5 kB / 1.359 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9107, allocations: 0 / 1.359 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9107, allocations: 11.94 kB / 1.359 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000739/0.9115, allocations: 0.5267 MB / 1.359 GB, free: 12.42 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.9128, allocations: 0.9219 MB / 1.36 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9128, allocations: 4 kB / 1.36 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.913, allocations: 39.97 kB / 1.36 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.9133, allocations: 64.8 kB / 1.36 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.9133, allocations: 4 kB / 1.36 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.915, allocations: 1.825 MB / 1.362 GB, free: 9.352 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.915, allocations: 4.062 kB / 1.362 GB, free: 9.348 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.9157, allocations: 433.3 kB / 1.362 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.9159, allocations: 168.3 kB / 1.363 GB, free: 8.715 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.916, allocations: 11.94 kB / 1.363 GB, free: 8.703 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.9165, allocations: 21.42 kB / 1.363 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.9166, allocations: 23.97 kB / 1.363 GB, free: 8.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.9166, allocations: 15.98 kB / 1.363 GB, free: 8.645 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004724/0.9171, allocations: 398.8 kB / 1.363 GB, free: 8.258 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9171, allocations: 3.938 kB / 1.363 GB, free: 8.254 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006608/0.9178, allocations: 203.6 kB / 1.363 GB, free: 8.055 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.001218/0.919, allocations: 1.028 MB / 1.364 GB, free: 7 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009811/0.92, allocations: 0.5322 MB / 1.365 GB, free: 6.441 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.92, allocations: 0 / 1.365 GB, free: 6.441 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.9204, allocations: 255.2 kB / 1.365 GB, free: 6.18 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.9221, allocations: 370.6 kB / 1.365 GB, free: 5.828 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.9284, allocations: 4.457 MB / 1.37 GB, free: 1.211 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.9289, allocations: 0.9131 MB / 1.371 GB, free: 276 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004374/0.9294, allocations: 112.8 kB / 1.371 GB, free: 160 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.9297, allocations: 187.4 kB / 1.371 GB, free: 15.97 MB / 1.107 GB Notification: Performance of SimCode: time 6.21e-07/0.9297, allocations: 0 / 1.371 GB, free: 15.97 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.9746, allocations: 17.8 MB / 1.388 GB, free: 14.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.75, allocations: 13.94 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=50 --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