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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004417/0.004417, allocations: 97.41 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.001254/0.001254, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2814, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6886/0.9701, allocations: 171 MB / 1.408 GB, free: 5.617 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.9767, allocations: 4.294 MB / 1.413 GB, free: 2.137 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006142/0.9774, allocations: 22.22 kB / 1.413 GB, free: 2.129 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.9784, allocations: 359.9 kB / 1.413 GB, free: 1.84 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.9808, allocations: 0.9857 MB / 1.414 GB, free: 1.078 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.9828, allocations: 0.822 MB / 1.415 GB, free: 484 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001786/0.9846, allocations: 1.294 MB / 1.416 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.9854, allocations: 483.4 kB / 1.417 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.9867, allocations: 0.6964 MB / 1.417 GB, free: 15.03 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.9877, allocations: 453 kB / 1.418 GB, free: 14.77 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.9878, allocations: 55.84 kB / 1.418 GB, free: 14.77 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.9894, allocations: 0.9006 MB / 1.419 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.9896, allocations: 214.2 kB / 1.419 GB, free: 14.13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.99, allocations: 326.5 kB / 1.419 GB, free: 13.93 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.9915, allocations: 1.138 MB / 1.42 GB, free: 13.21 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9915, allocations: 1.375 kB / 1.42 GB, free: 13.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9915, allocations: 0 / 1.42 GB, free: 13.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.9915, allocations: 0 / 1.42 GB, free: 13.21 MB / 1.123 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.001622/0.9932, allocations: 0.9675 MB / 1.421 GB, free: 12.42 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.9932, allocations: 9.031 kB / 1.421 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.9933, allocations: 83.22 kB / 1.421 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.995, allocations: 270.5 kB / 1.421 GB, free: 12.22 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/0.9959, allocations: 0.5009 MB / 1.422 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.9959, allocations: 29.28 kB / 1.422 GB, free: 11.78 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.996, allocations: 46.41 kB / 1.422 GB, free: 11.76 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.9973, allocations: 0.6148 MB / 1.423 GB, free: 11.38 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.9973, allocations: 0 / 1.423 GB, free: 11.38 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.9974, allocations: 18.19 kB / 1.423 GB, free: 11.36 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.9974, allocations: 21.25 kB / 1.423 GB, free: 11.36 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.9989, allocations: 0.548 MB / 1.423 GB, free: 11.1 MB / 1.123 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.003968/1.003, allocations: 2.267 MB / 1.425 GB, free: 9.258 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/1.004, allocations: 279.6 kB / 1.426 GB, free: 9.113 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/1.004, allocations: 170.2 kB / 1.426 GB, free: 9.027 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/1.004, allocations: 7.656 kB / 1.426 GB, free: 9.023 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.005, allocations: 42.44 kB / 1.426 GB, free: 8.973 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/1.005, allocations: 0 / 1.426 GB, free: 8.973 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.005185/1.01, allocations: 1.085 MB / 1.427 GB, free: 8.387 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.01, allocations: 79.48 kB / 1.427 GB, free: 8.293 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/1.01, allocations: 0.5547 MB / 1.428 GB, free: 7.961 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/1.01, allocations: 32.42 kB / 1.428 GB, free: 7.926 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/1.011, allocations: 303.7 kB / 1.428 GB, free: 7.656 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/1.011, allocations: 46.86 kB / 1.428 GB, free: 7.617 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.011, allocations: 57.84 kB / 1.428 GB, free: 7.578 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.011, allocations: 356.8 kB / 1.428 GB, free: 7.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/1.012, allocations: 190.8 kB / 1.429 GB, free: 7.141 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/1.012, allocations: 267.3 kB / 1.429 GB, free: 6.953 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.014, allocations: 413.8 kB / 1.429 GB, free: 6.699 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.014, allocations: 1.156 kB / 1.429 GB, free: 6.699 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002748/1.016, allocations: 0.7221 MB / 1.43 GB, free: 6.332 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.016, allocations: 5.312 kB / 1.43 GB, free: 6.332 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.016, allocations: 10.62 kB / 1.43 GB, free: 6.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/1.017, allocations: 184.6 kB / 1.43 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/1.017, allocations: 71.88 kB / 1.43 GB, free: 6.168 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/1.022, allocations: 2.23 MB / 1.432 GB, free: 3.809 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/1.022, allocations: 75.58 kB / 1.432 GB, free: 3.734 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/1.022, allocations: 8 kB / 1.432 GB, free: 3.727 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 (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.0002352/1.022, allocations: 201.7 kB / 1.433 GB, free: 3.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.023, allocations: 51.66 kB / 1.433 GB, free: 3.469 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/1.023, allocations: 55.97 kB / 1.433 GB, free: 3.414 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.023, allocations: 3.984 kB / 1.433 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/1.023, allocations: 0 / 1.433 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.023, allocations: 0 / 1.433 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.026, allocations: 1.133 MB / 1.434 GB, free: 2.211 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.026, allocations: 4.062 kB / 1.434 GB, free: 2.207 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/1.026, allocations: 35.95 kB / 1.434 GB, free: 2.172 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/1.027, allocations: 187.7 kB / 1.434 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.027, allocations: 4 kB / 1.434 GB, free: 1.984 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/1.031, allocations: 2.184 MB / 1.436 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.031, allocations: 0 / 1.436 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/1.033, allocations: 0.7081 MB / 1.437 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/1.034, allocations: 168.7 kB / 1.437 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/1.034, allocations: 8 kB / 1.437 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/1.034, allocations: 53.02 kB / 1.437 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/1.034, allocations: 15.98 kB / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/1.034, allocations: 15.97 kB / 1.437 GB, free: 14.65 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000458/1.035, allocations: 390.8 kB / 1.437 GB, free: 14.27 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.035, allocations: 4 kB / 1.437 GB, free: 14.27 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005748/1.036, allocations: 179.8 kB / 1.438 GB, free: 14.09 MB / 1.139 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.003269/1.039, allocations: 1.34 MB / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001644/1.04, allocations: 0.5198 MB / 1.439 GB, free: 12.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.041, allocations: 8 kB / 1.439 GB, free: 12.19 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007786/1.041, allocations: 302.8 kB / 1.44 GB, free: 11.88 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.043, allocations: 299.8 kB / 1.44 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.054, allocations: 5.087 MB / 1.445 GB, free: 6.348 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/1.055, allocations: 0.8621 MB / 1.446 GB, free: 5.457 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003675/1.055, allocations: 100.5 kB / 1.446 GB, free: 5.355 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.056, allocations: 167.4 kB / 1.446 GB, free: 5.191 MB / 1.139 GB Notification: Performance of SimCode: time 2.7e-07/1.056, allocations: 0 / 1.446 GB, free: 5.191 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04568/1.101, allocations: 16.89 MB / 1.463 GB, free: 4.648 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.63, allocations: 18.48 kB / 1.463 GB, free: 4.633 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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