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.001448/0.001448, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.0017/0.0017, allocations: 220 kB / 23.04 MB, free: 5.078 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] 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.925/2.925, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",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.001777/0.001777, allocations: 70.81 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2874, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1914/0.4787, allocations: 174.7 MB / 1.516 GB, free: 1.129 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006556/0.4853, allocations: 4.335 MB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.4859, allocations: 27.75 kB / 1.52 GB, free: 12.76 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.4869, allocations: 369.9 kB / 1.521 GB, free: 12.39 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.4892, allocations: 1.042 MB / 1.522 GB, free: 11.35 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.4913, allocations: 0.8432 MB / 1.522 GB, free: 10.51 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.493, allocations: 1.316 MB / 1.524 GB, free: 9.191 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.4937, allocations: 383.7 kB / 1.524 GB, free: 8.812 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.495, allocations: 0.7317 MB / 1.525 GB, free: 8.078 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.4962, allocations: 485 kB / 1.525 GB, free: 7.605 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.4963, allocations: 52 kB / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4979, allocations: 0.9471 MB / 1.526 GB, free: 6.605 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.4981, allocations: 215.3 kB / 1.526 GB, free: 6.395 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.4986, allocations: 334.5 kB / 1.527 GB, free: 6.066 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.5003, allocations: 1.145 MB / 1.528 GB, free: 4.918 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5003, allocations: 4 kB / 1.528 GB, free: 4.914 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5003, allocations: 0 / 1.528 GB, free: 4.914 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.5003, allocations: 0 / 1.528 GB, free: 4.914 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.001707/0.502, allocations: 0.8858 MB / 1.529 GB, free: 3.996 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5021, allocations: 16.03 kB / 1.529 GB, free: 3.98 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.113e-05/0.5021, allocations: 9 kB / 1.529 GB, free: 3.973 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.822e-05/0.5022, allocations: 86.52 kB / 1.529 GB, free: 3.879 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.5038, allocations: 271.3 kB / 1.529 GB, free: 3.613 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009123/0.5047, allocations: 442.5 kB / 1.529 GB, free: 3.156 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.5047, allocations: 32.94 kB / 1.53 GB, free: 3.121 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.5048, allocations: 44 kB / 1.53 GB, free: 3.078 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.5061, allocations: 0.6146 MB / 1.53 GB, free: 2.441 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5061, allocations: 0 / 1.53 GB, free: 2.441 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.5061, allocations: 16 kB / 1.53 GB, free: 2.426 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.5062, allocations: 20.98 kB / 1.53 GB, free: 2.406 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5076, allocations: 0.5464 MB / 1.531 GB, free: 1.859 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.004063/0.5116, allocations: 2.229 MB / 1.533 GB, free: 15.51 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.5125, allocations: 282.2 kB / 1.533 GB, free: 15.22 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.5131, allocations: 156.7 kB / 1.533 GB, free: 15.07 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.5131, allocations: 4 kB / 1.533 GB, free: 15.06 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5131, allocations: 38.55 kB / 1.533 GB, free: 15.02 MB / 1.233 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.5131, allocations: 4 kB / 1.533 GB, free: 15.01 MB / 1.233 GB Notification: Performance of matching and sorting (n=11): time 0.004952/0.5181, allocations: 1.013 MB / 1.534 GB, free: 13.99 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.5182, allocations: 85.05 kB / 1.534 GB, free: 13.89 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.5189, allocations: 0.5457 MB / 1.535 GB, free: 13.33 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.5189, allocations: 29.7 kB / 1.535 GB, free: 13.29 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.5191, allocations: 304 kB / 1.535 GB, free: 12.99 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.5192, allocations: 51.64 kB / 1.535 GB, free: 12.94 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5193, allocations: 57.64 kB / 1.535 GB, free: 12.88 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5195, allocations: 354.8 kB / 1.536 GB, free: 12.52 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.5201, allocations: 191.8 kB / 1.536 GB, free: 12.34 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.5208, allocations: 273.2 kB / 1.536 GB, free: 12.04 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5219, allocations: 406.1 kB / 1.537 GB, free: 11.61 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5219, allocations: 4 kB / 1.537 GB, free: 11.61 MB / 1.233 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002646/0.5246, allocations: 0.7304 MB / 1.537 GB, free: 10.87 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5246, allocations: 4 kB / 1.537 GB, free: 10.86 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5246, allocations: 8 kB / 1.537 GB, free: 10.86 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.5252, allocations: 184.8 kB / 1.537 GB, free: 10.67 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.5256, allocations: 63.89 kB / 1.538 GB, free: 10.61 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/0.5296, allocations: 2.148 MB / 1.54 GB, free: 8.352 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.5302, allocations: 75.58 kB / 1.54 GB, free: 8.277 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.5302, allocations: 15.98 kB / 1.54 GB, free: 8.262 MB / 1.233 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.0002916/0.5305, allocations: 185.8 kB / 1.54 GB, free: 8.07 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5307, allocations: 55.84 kB / 1.54 GB, free: 8.016 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.5308, allocations: 52.03 kB / 1.54 GB, free: 7.965 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5308, allocations: 7.938 kB / 1.54 GB, free: 7.957 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5308, allocations: 8 kB / 1.54 GB, free: 7.949 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5308, allocations: 0 / 1.54 GB, free: 7.949 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.5339, allocations: 1.097 MB / 1.541 GB, free: 6.793 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5339, allocations: 0 / 1.541 GB, free: 6.793 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.5341, allocations: 35.95 kB / 1.541 GB, free: 6.758 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/0.5347, allocations: 192.7 kB / 1.541 GB, free: 6.566 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5347, allocations: 0 / 1.541 GB, free: 6.566 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.5383, allocations: 2.08 MB / 1.543 GB, free: 4.367 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5383, allocations: 8.031 kB / 1.543 GB, free: 4.359 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.5408, allocations: 0.7082 MB / 1.544 GB, free: 3.625 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.5411, allocations: 87.66 kB / 1.544 GB, free: 3.539 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/0.5412, allocations: 7.938 kB / 1.544 GB, free: 3.531 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.5417, allocations: 51.94 kB / 1.544 GB, free: 3.48 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.5418, allocations: 15.92 kB / 1.544 GB, free: 3.465 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.5419, allocations: 11.98 kB / 1.544 GB, free: 3.453 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.000506/0.5424, allocations: 394.8 kB / 1.545 GB, free: 3.07 MB / 1.233 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5424, allocations: 0 / 1.545 GB, free: 3.07 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0006467/0.543, allocations: 183.7 kB / 1.545 GB, free: 2.891 MB / 1.233 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.003006/0.546, allocations: 1.308 MB / 1.546 GB, free: 1.543 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.5476, allocations: 0.514 MB / 1.547 GB, free: 1.016 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5476, allocations: 0 / 1.547 GB, free: 1.016 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.5483, allocations: 302.9 kB / 1.547 GB, free: 0.707 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5499, allocations: 308.6 kB / 1.547 GB, free: 424 kB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5615, allocations: 5.062 MB / 1.552 GB, free: 11.19 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.5621, allocations: 0.866 MB / 1.553 GB, free: 10.3 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000427/0.5625, allocations: 104.5 kB / 1.553 GB, free: 10.2 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.5628, allocations: 167.4 kB / 1.553 GB, free: 10.03 MB / 1.248 GB Notification: Performance of SimCode: time 9.11e-07/0.5628, allocations: 0 / 1.553 GB, free: 10.03 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.6119, allocations: 17.2 MB / 1.57 GB, free: 9.109 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.34, allocations: 4 kB / 1.57 GB, free: 9.105 MB / 1.264 GB " [Timeout remaining time 286] (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: 19.529254583001602]