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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 214.2 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.957/2.957, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.97 kB / 1.186 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1745/0.4889, allocations: 150.9 MB / 1.511 GB, free: 6.672 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00628/0.4951, allocations: 4.017 MB / 1.515 GB, free: 2.645 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006063/0.4957, allocations: 27.75 kB / 1.515 GB, free: 2.617 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.4967, allocations: 330 kB / 1.515 GB, free: 2.293 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.499, allocations: 1.049 MB / 1.516 GB, free: 1.242 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.5011, allocations: 0.8308 MB / 1.517 GB, free: 424 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.5027, allocations: 1.302 MB / 1.518 GB, free: 15.11 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.5033, allocations: 376 kB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.5045, allocations: 0.7511 MB / 1.519 GB, free: 13.98 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.5055, allocations: 450.8 kB / 1.52 GB, free: 13.54 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-05/0.5056, allocations: 52 kB / 1.52 GB, free: 13.49 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.5069, allocations: 0.7521 MB / 1.52 GB, free: 12.74 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.5072, allocations: 219.3 kB / 1.521 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.5075, allocations: 282.8 kB / 1.521 GB, free: 12.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.5089, allocations: 1.117 MB / 1.522 GB, free: 11.12 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5089, allocations: 0 / 1.522 GB, free: 11.12 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5089, allocations: 4 kB / 1.522 GB, free: 11.12 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5089, allocations: 0 / 1.522 GB, free: 11.12 MB / 1.217 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.001612/0.5105, allocations: 0.8912 MB / 1.523 GB, free: 10.2 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5106, allocations: 8.031 kB / 1.523 GB, free: 10.19 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.5107, allocations: 90.5 kB / 1.523 GB, free: 10.09 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.5123, allocations: 259.4 kB / 1.523 GB, free: 9.84 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/0.5132, allocations: 438.5 kB / 1.524 GB, free: 9.387 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.5132, allocations: 33 kB / 1.524 GB, free: 9.355 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.5133, allocations: 36 kB / 1.524 GB, free: 9.32 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5147, allocations: 0.8946 MB / 1.525 GB, free: 8.332 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5147, allocations: 0 / 1.525 GB, free: 8.332 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.5148, allocations: 16 kB / 1.525 GB, free: 8.316 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.5148, allocations: 20.98 kB / 1.525 GB, free: 8.297 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.5162, allocations: 0.5503 MB / 1.525 GB, free: 7.742 MB / 1.217 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.003866/0.5201, allocations: 1.907 MB / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.521, allocations: 278.3 kB / 1.527 GB, free: 5.484 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.5216, allocations: 168.7 kB / 1.527 GB, free: 5.316 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.5216, allocations: 3.984 kB / 1.527 GB, free: 5.312 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5216, allocations: 38.56 kB / 1.527 GB, free: 5.266 MB / 1.217 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.5216, allocations: 0 / 1.527 GB, free: 5.266 MB / 1.217 GB Notification: Performance of matching and sorting (n=11): time 0.005061/0.5267, allocations: 1.013 MB / 1.528 GB, free: 4.242 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.5268, allocations: 81.11 kB / 1.529 GB, free: 4.145 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.5274, allocations: 0.5573 MB / 1.529 GB, free: 3.578 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.5275, allocations: 29.7 kB / 1.529 GB, free: 3.543 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.5277, allocations: 304.1 kB / 1.529 GB, free: 3.242 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.5278, allocations: 47.58 kB / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.5279, allocations: 57.66 kB / 1.529 GB, free: 3.133 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5281, allocations: 358.8 kB / 1.53 GB, free: 2.773 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.5287, allocations: 183.8 kB / 1.53 GB, free: 2.594 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.5293, allocations: 303.4 kB / 1.53 GB, free: 2.258 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5305, allocations: 410.9 kB / 1.531 GB, free: 1.828 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5305, allocations: 4 kB / 1.531 GB, free: 1.824 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002619/0.5331, allocations: 0.728 MB / 1.531 GB, free: 1.086 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5331, allocations: 7.938 kB / 1.531 GB, free: 1.078 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5331, allocations: 4 kB / 1.531 GB, free: 1.074 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.5338, allocations: 188.8 kB / 1.532 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.5342, allocations: 67.88 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.5381, allocations: 2.096 MB / 1.534 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.5387, allocations: 79.64 kB / 1.534 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.5387, allocations: 15.92 kB / 1.534 GB, free: 14.52 MB / 1.232 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.0002947/0.539, allocations: 193.7 kB / 1.534 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5391, allocations: 51.72 kB / 1.534 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.5392, allocations: 55.97 kB / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5392, allocations: 0 / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.5392, allocations: 0 / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5392, allocations: 4 kB / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.5423, allocations: 1.038 MB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5423, allocations: 4 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.5425, allocations: 43.95 kB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.5431, allocations: 184.7 kB / 1.535 GB, free: 12.88 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5431, allocations: 0 / 1.535 GB, free: 12.88 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/0.5467, allocations: 2.068 MB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5467, allocations: 0 / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.5492, allocations: 0.7047 MB / 1.538 GB, free: 9.973 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.5494, allocations: 87.66 kB / 1.538 GB, free: 9.887 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.5495, allocations: 4.188 kB / 1.538 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.5501, allocations: 62.11 kB / 1.538 GB, free: 9.824 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.5501, allocations: 11.98 kB / 1.538 GB, free: 9.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.5502, allocations: 11.98 kB / 1.538 GB, free: 9.801 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000463/0.5506, allocations: 394.8 kB / 1.539 GB, free: 9.418 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5506, allocations: 0 / 1.539 GB, free: 9.418 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005838/0.5512, allocations: 183.8 kB / 1.539 GB, free: 9.238 MB / 1.232 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.002914/0.5541, allocations: 1.308 MB / 1.54 GB, free: 7.891 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.5557, allocations: 0.5063 MB / 1.541 GB, free: 7.371 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5557, allocations: 4 kB / 1.541 GB, free: 7.367 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.5564, allocations: 298.9 kB / 1.541 GB, free: 7.062 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5577, allocations: 308.6 kB / 1.541 GB, free: 6.762 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5688, allocations: 5.079 MB / 1.546 GB, free: 1.535 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.5691, allocations: 268 kB / 1.546 GB, free: 1.246 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003966/0.5695, allocations: 100.5 kB / 1.546 GB, free: 1.145 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.5697, allocations: 167.4 kB / 1.547 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of SimCode: time 5.81e-07/0.5697, allocations: 0 / 1.547 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.6216, allocations: 18.3 MB / 1.564 GB, free: 15.08 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.51, allocations: 14.64 kB / 1.564 GB, free: 15.07 MB / 1.264 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.62443651491776]