Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.007654/0.007653, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001762/0.001762, allocations: 195.8 kB / 16.67 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 67.89 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8645/1.193, allocations: 171 MB / 1.374 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007593/1.201, allocations: 4.284 MB / 1.378 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/1.202, allocations: 22.66 kB / 1.378 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/1.203, allocations: 355.7 kB / 1.379 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/1.206, allocations: 0.9903 MB / 1.38 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/1.208, allocations: 0.812 MB / 1.381 GB, free: 9.898 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001899/1.21, allocations: 1.303 MB / 1.382 GB, free: 9.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/1.211, allocations: 486.2 kB / 1.382 GB, free: 8.867 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/1.212, allocations: 0.6792 MB / 1.383 GB, free: 8.457 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/1.214, allocations: 449 kB / 1.383 GB, free: 8.207 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/1.214, allocations: 55.88 kB / 1.383 GB, free: 8.203 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/1.216, allocations: 0.9153 MB / 1.384 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/1.216, allocations: 210.7 kB / 1.385 GB, free: 7.555 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/1.216, allocations: 330.3 kB / 1.385 GB, free: 7.352 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/1.218, allocations: 1.127 MB / 1.386 GB, free: 6.641 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.218, allocations: 0 / 1.386 GB, free: 6.641 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/1.218, allocations: 5.5 kB / 1.386 GB, free: 6.637 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.707e-05/1.218, allocations: 3.984 kB / 1.386 GB, free: 6.633 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001797/1.22, allocations: 0.945 MB / 1.387 GB, free: 5.867 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.22, allocations: 9.75 kB / 1.387 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/1.22, allocations: 83.69 kB / 1.387 GB, free: 5.793 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.222, allocations: 261.6 kB / 1.387 GB, free: 5.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/1.223, allocations: 0.4966 MB / 1.388 GB, free: 5.254 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.223, allocations: 34.25 kB / 1.388 GB, free: 5.238 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/1.223, allocations: 41.86 kB / 1.388 GB, free: 5.223 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/1.224, allocations: 0.6158 MB / 1.388 GB, free: 4.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.224, allocations: 0 / 1.388 GB, free: 4.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/1.224, allocations: 25.25 kB / 1.388 GB, free: 4.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/1.224, allocations: 19.22 kB / 1.388 GB, free: 4.816 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/1.226, allocations: 0.5478 MB / 1.389 GB, free: 4.559 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.004224/1.23, allocations: 2.253 MB / 1.391 GB, free: 2.727 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009067/1.231, allocations: 283.4 kB / 1.391 GB, free: 2.578 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/1.232, allocations: 161.8 kB / 1.392 GB, free: 2.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/1.232, allocations: 6.531 kB / 1.392 GB, free: 2.496 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.232, allocations: 36.31 kB / 1.392 GB, free: 2.453 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/1.232, allocations: 5.188 kB / 1.392 GB, free: 2.449 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.004998/1.237, allocations: 1.086 MB / 1.393 GB, free: 1.863 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/1.237, allocations: 78.48 kB / 1.393 GB, free: 1.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/1.237, allocations: 0.5524 MB / 1.393 GB, free: 1.438 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/1.237, allocations: 26.73 kB / 1.393 GB, free: 1.406 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/1.238, allocations: 308.8 kB / 1.394 GB, free: 1.133 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/1.238, allocations: 41.2 kB / 1.394 GB, free: 1.098 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.238, allocations: 64.81 kB / 1.394 GB, free: 1.051 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.238, allocations: 353.5 kB / 1.394 GB, free: 0.707 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/1.239, allocations: 187.3 kB / 1.394 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/1.239, allocations: 277.6 kB / 1.395 GB, free: 436 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.24, allocations: 398.6 kB / 1.395 GB, free: 188 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.24, allocations: 1.688 kB / 1.395 GB, free: 188 kB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002624/1.243, allocations: 0.7316 MB / 1.396 GB, free: 15.81 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.243, allocations: 4.781 kB / 1.396 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.243, allocations: 3.5 kB / 1.396 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/1.244, allocations: 190.1 kB / 1.396 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.244, allocations: 69.33 kB / 1.396 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/1.248, allocations: 2.226 MB / 1.398 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/1.249, allocations: 85.16 kB / 1.398 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/1.249, allocations: 11.84 kB / 1.398 GB, free: 13.75 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003042/1.249, allocations: 189.1 kB / 1.398 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/1.249, allocations: 49.66 kB / 1.398 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.3e-05/1.249, allocations: 55.12 kB / 1.398 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.249, allocations: 4 kB / 1.398 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.249, allocations: 0 / 1.398 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.249, allocations: 3.984 kB / 1.398 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/1.252, allocations: 1.129 MB / 1.4 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.252, allocations: 2.5 kB / 1.4 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/1.252, allocations: 34.45 kB / 1.4 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/1.253, allocations: 185.8 kB / 1.4 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.253, allocations: 0 / 1.4 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/1.256, allocations: 2.201 MB / 1.402 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.256, allocations: 1.5 kB / 1.402 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.259, allocations: 0.6996 MB / 1.403 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/1.259, allocations: 166.7 kB / 1.403 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/1.259, allocations: 1.375 kB / 1.403 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/1.26, allocations: 51.38 kB / 1.403 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.26, allocations: 13.48 kB / 1.403 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/1.26, allocations: 16.23 kB / 1.403 GB, free: 10.12 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004855/1.26, allocations: 391.9 kB / 1.403 GB, free: 9.891 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.3e-07/1.26, allocations: 0 / 1.403 GB, free: 9.891 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006897/1.261, allocations: 187.1 kB / 1.403 GB, free: 9.859 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00299/1.264, allocations: 1.317 MB / 1.405 GB, free: 8.867 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.265, allocations: 0.5251 MB / 1.405 GB, free: 8.555 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.266, allocations: 0 / 1.405 GB, free: 8.555 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006886/1.266, allocations: 311.5 kB / 1.405 GB, free: 8.336 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.268, allocations: 307.9 kB / 1.406 GB, free: 8.184 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.279, allocations: 5.067 MB / 1.411 GB, free: 4.973 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/1.28, allocations: 0.8587 MB / 1.412 GB, free: 4.191 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004989/1.281, allocations: 114 kB / 1.412 GB, free: 4.137 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/1.281, allocations: 162.8 kB / 1.412 GB, free: 4.004 MB / 1.092 GB Notification: Performance of SimCode: time 1.082e-06/1.281, allocations: 0 / 1.412 GB, free: 4.004 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/1.328, allocations: 17.17 MB / 1.429 GB, free: 3.922 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.36, allocations: 5.625 kB / 1.429 GB, free: 3.918 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches