Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.007942/0.007942, allocations: 97.84 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.001976/0.001976, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 72.09 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2988, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7745/1.073, allocations: 171 MB / 1.387 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007241/1.081, allocations: 4.284 MB / 1.391 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008902/1.082, allocations: 22.41 kB / 1.391 GB, free: 12.29 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/1.083, allocations: 355.6 kB / 1.392 GB, free: 12 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/1.086, allocations: 0.9947 MB / 1.393 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/1.088, allocations: 0.8148 MB / 1.393 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002149/1.09, allocations: 1.301 MB / 1.395 GB, free: 9.898 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009062/1.091, allocations: 483.5 kB / 1.395 GB, free: 9.605 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/1.093, allocations: 0.6731 MB / 1.396 GB, free: 9.199 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.094, allocations: 451.4 kB / 1.396 GB, free: 8.945 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/1.095, allocations: 51.97 kB / 1.396 GB, free: 8.945 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/1.097, allocations: 0.9156 MB / 1.397 GB, free: 8.441 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/1.097, allocations: 206.8 kB / 1.397 GB, free: 8.301 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007222/1.098, allocations: 333.7 kB / 1.398 GB, free: 8.094 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/1.1, allocations: 1.131 MB / 1.399 GB, free: 7.379 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.1, allocations: 4 kB / 1.399 GB, free: 7.375 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/1.1, allocations: 0 / 1.399 GB, free: 7.375 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.024e-05/1.1, allocations: 0 / 1.399 GB, free: 7.375 MB / 1.092 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.002326/1.103, allocations: 0.9712 MB / 1.4 GB, free: 6.582 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.103, allocations: 9.25 kB / 1.4 GB, free: 6.582 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/1.103, allocations: 87.17 kB / 1.4 GB, free: 6.504 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/1.105, allocations: 266.5 kB / 1.4 GB, free: 6.387 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.106, allocations: 0.493 MB / 1.401 GB, free: 5.965 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/1.106, allocations: 34.5 kB / 1.401 GB, free: 5.949 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/1.106, allocations: 38.44 kB / 1.401 GB, free: 5.938 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.108, allocations: 0.6154 MB / 1.401 GB, free: 5.559 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.108, allocations: 0 / 1.401 GB, free: 5.559 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/1.108, allocations: 17.81 kB / 1.401 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/1.108, allocations: 25.59 kB / 1.401 GB, free: 5.535 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/1.109, allocations: 0.5436 MB / 1.402 GB, free: 5.277 MB / 1.092 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.004688/1.114, allocations: 2.28 MB / 1.404 GB, free: 3.422 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.115, allocations: 274.2 kB / 1.404 GB, free: 3.281 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/1.116, allocations: 170.4 kB / 1.405 GB, free: 3.195 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/1.116, allocations: 6.25 kB / 1.405 GB, free: 3.191 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.116, allocations: 40.81 kB / 1.405 GB, free: 3.145 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/1.116, allocations: 5 kB / 1.405 GB, free: 3.141 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.005347/1.121, allocations: 1.081 MB / 1.406 GB, free: 2.559 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/1.121, allocations: 78.48 kB / 1.406 GB, free: 2.465 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/1.122, allocations: 0.5562 MB / 1.406 GB, free: 2.133 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/1.122, allocations: 31.08 kB / 1.406 GB, free: 2.098 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/1.122, allocations: 309.1 kB / 1.407 GB, free: 1.824 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/1.122, allocations: 36.81 kB / 1.407 GB, free: 1.793 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/1.123, allocations: 62.12 kB / 1.407 GB, free: 1.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.123, allocations: 353.1 kB / 1.407 GB, free: 1.406 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/1.123, allocations: 191.7 kB / 1.407 GB, free: 1.316 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/1.124, allocations: 279.7 kB / 1.407 GB, free: 1.117 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.125, allocations: 410.6 kB / 1.408 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.125, allocations: 1.062 kB / 1.408 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002888/1.128, allocations: 0.7284 MB / 1.409 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.128, allocations: 8 kB / 1.409 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.128, allocations: 2.562 kB / 1.409 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/1.129, allocations: 190 kB / 1.409 GB, free: 412 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/1.129, allocations: 65.77 kB / 1.409 GB, free: 396 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/1.134, allocations: 2.241 MB / 1.411 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/1.134, allocations: 79.23 kB / 1.411 GB, free: 14.44 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.135, allocations: 16.05 kB / 1.411 GB, free: 14.43 MB / 1.107 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.0003299/1.135, allocations: 184 kB / 1.411 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/1.135, allocations: 54.48 kB / 1.411 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/1.135, allocations: 62.03 kB / 1.411 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.135, allocations: 0 / 1.411 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.135, allocations: 2.594 kB / 1.411 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/1.135, allocations: 0 / 1.411 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/1.139, allocations: 1.12 MB / 1.412 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.139, allocations: 2.469 kB / 1.412 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/1.139, allocations: 43.36 kB / 1.412 GB, free: 13.39 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005789/1.14, allocations: 184.7 kB / 1.413 GB, free: 13.31 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/1.14, allocations: 3.188 kB / 1.413 GB, free: 13.31 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/1.143, allocations: 2.199 MB / 1.415 GB, free: 11.41 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.144, allocations: 0 / 1.415 GB, free: 11.41 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/1.146, allocations: 0.7105 MB / 1.416 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/1.147, allocations: 170.2 kB / 1.416 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/1.147, allocations: 4 kB / 1.416 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/1.148, allocations: 51.28 kB / 1.416 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/1.148, allocations: 13.2 kB / 1.416 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/1.148, allocations: 15.67 kB / 1.416 GB, free: 10.78 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005434/1.148, allocations: 397.2 kB / 1.416 GB, free: 10.55 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.2e-07/1.148, allocations: 0 / 1.416 GB, free: 10.55 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008043/1.149, allocations: 179.6 kB / 1.416 GB, free: 10.52 MB / 1.107 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.00337/1.152, allocations: 1.333 MB / 1.418 GB, free: 9.523 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.154, allocations: 0.518 MB / 1.418 GB, free: 9.215 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.154, allocations: 2.719 kB / 1.418 GB, free: 9.215 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/1.155, allocations: 308 kB / 1.418 GB, free: 9 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.157, allocations: 305.8 kB / 1.419 GB, free: 8.844 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.17, allocations: 5.078 MB / 1.424 GB, free: 4.234 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/1.17, allocations: 0.8582 MB / 1.425 GB, free: 3.348 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005172/1.171, allocations: 108.5 kB / 1.425 GB, free: 3.238 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/1.171, allocations: 163.4 kB / 1.425 GB, free: 3.078 MB / 1.107 GB Notification: Performance of SimCode: time 1.032e-06/1.171, allocations: 0 / 1.425 GB, free: 3.078 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/1.224, allocations: 16.89 MB / 1.441 GB, free: 2.551 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.34, allocations: 13.39 kB / 1.441 GB, free: 2.543 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches