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.001442/0.001442, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001587/0.001587, allocations: 218 kB / 22.26 MB, free: 5.125 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.34/1.34, 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 3.009/3.009, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001883/0.001883, allocations: 72.45 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2955, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1854/0.4809, allocations: 174.7 MB / 1.523 GB, free: 9.125 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00671/0.4876, allocations: 4.324 MB / 1.528 GB, free: 4.789 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007143/0.4883, allocations: 31.81 kB / 1.528 GB, free: 4.758 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4893, allocations: 365.9 kB / 1.528 GB, free: 4.398 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.4919, allocations: 1.046 MB / 1.529 GB, free: 3.348 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.4941, allocations: 0.8503 MB / 1.53 GB, free: 2.504 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.4959, allocations: 1.309 MB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.4966, allocations: 380 kB / 1.532 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.4981, allocations: 0.7434 MB / 1.532 GB, free: 72 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.4993, allocations: 486.7 kB / 1.533 GB, free: 15.59 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.4995, allocations: 48 kB / 1.533 GB, free: 15.55 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.5012, allocations: 0.947 MB / 1.534 GB, free: 14.6 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.5014, allocations: 219.3 kB / 1.534 GB, free: 14.39 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.5018, allocations: 338.5 kB / 1.534 GB, free: 14.05 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.5036, allocations: 1.133 MB / 1.535 GB, free: 12.92 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5036, allocations: 0 / 1.535 GB, free: 12.92 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5036, allocations: 0 / 1.535 GB, free: 12.92 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.5036, allocations: 0 / 1.535 GB, free: 12.92 MB / 1.232 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.001784/0.5054, allocations: 0.8974 MB / 1.536 GB, free: 11.98 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5054, allocations: 8.031 kB / 1.536 GB, free: 11.98 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.5055, allocations: 82.53 kB / 1.536 GB, free: 11.89 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.5072, allocations: 271.3 kB / 1.537 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.5081, allocations: 438.5 kB / 1.537 GB, free: 11.17 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.5081, allocations: 40.94 kB / 1.537 GB, free: 11.13 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.5082, allocations: 40 kB / 1.537 GB, free: 11.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5094, allocations: 0.6068 MB / 1.538 GB, free: 10.46 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5094, allocations: 0 / 1.538 GB, free: 10.46 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.5095, allocations: 20 kB / 1.538 GB, free: 10.44 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.5095, allocations: 28.97 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.5108, allocations: 0.5425 MB / 1.538 GB, free: 9.871 MB / 1.232 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.003937/0.5148, allocations: 2.229 MB / 1.54 GB, free: 7.52 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008388/0.5156, allocations: 278.3 kB / 1.541 GB, free: 7.238 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.5161, allocations: 168.6 kB / 1.541 GB, free: 7.07 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.5161, allocations: 4 kB / 1.541 GB, free: 7.066 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5162, allocations: 34.56 kB / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.5162, allocations: 0 / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of matching and sorting (n=11): time 0.004825/0.521, allocations: 1.017 MB / 1.542 GB, free: 5.996 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.5211, allocations: 77.11 kB / 1.542 GB, free: 5.902 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.5217, allocations: 0.5535 MB / 1.542 GB, free: 5.34 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.5218, allocations: 25.7 kB / 1.543 GB, free: 5.309 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.522, allocations: 312 kB / 1.543 GB, free: 5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.5221, allocations: 43.64 kB / 1.543 GB, free: 4.957 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.5222, allocations: 61.64 kB / 1.543 GB, free: 4.891 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5224, allocations: 358.8 kB / 1.543 GB, free: 4.531 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.5229, allocations: 191.8 kB / 1.543 GB, free: 4.344 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.5235, allocations: 261.3 kB / 1.544 GB, free: 4.055 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5246, allocations: 415.2 kB / 1.544 GB, free: 3.621 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5246, allocations: 4 kB / 1.544 GB, free: 3.617 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002507/0.5271, allocations: 0.7241 MB / 1.545 GB, free: 2.883 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5271, allocations: 8.094 kB / 1.545 GB, free: 2.875 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5271, allocations: 4 kB / 1.545 GB, free: 2.871 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.5278, allocations: 188.7 kB / 1.545 GB, free: 2.684 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.5281, allocations: 71.88 kB / 1.545 GB, free: 2.613 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.5319, allocations: 2.128 MB / 1.547 GB, free: 376 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.5324, allocations: 75.58 kB / 1.547 GB, free: 300 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.5325, allocations: 16 kB / 1.547 GB, free: 284 kB / 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.0002576/0.5327, allocations: 191.9 kB / 1.547 GB, free: 84 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5328, allocations: 51.72 kB / 1.547 GB, free: 32 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.533, allocations: 56.02 kB / 1.548 GB, free: 15.97 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.533, allocations: 7.938 kB / 1.548 GB, free: 15.96 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.533, allocations: 0 / 1.548 GB, free: 15.96 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.533, allocations: 0 / 1.548 GB, free: 15.96 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.536, allocations: 1.109 MB / 1.549 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.536, allocations: 4 kB / 1.549 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.5362, allocations: 35.95 kB / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/0.5367, allocations: 184.7 kB / 1.549 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.5367, allocations: 0 / 1.549 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.5402, allocations: 2.087 MB / 1.551 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5402, allocations: 4.031 kB / 1.551 GB, free: 12.37 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.5426, allocations: 0.6925 MB / 1.552 GB, free: 11.65 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.5429, allocations: 95.66 kB / 1.552 GB, free: 11.56 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.5429, allocations: 8.188 kB / 1.552 GB, free: 11.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.5435, allocations: 51.88 kB / 1.552 GB, free: 11.5 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.5436, allocations: 15.98 kB / 1.552 GB, free: 11.48 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.5436, allocations: 15.92 kB / 1.552 GB, free: 11.47 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004876/0.5441, allocations: 394.8 kB / 1.552 GB, free: 11.09 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5441, allocations: 0 / 1.552 GB, free: 11.09 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000632/0.5447, allocations: 183.7 kB / 1.552 GB, free: 10.91 MB / 1.248 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.002853/0.5476, allocations: 1.308 MB / 1.554 GB, free: 9.559 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.5491, allocations: 0.5071 MB / 1.554 GB, free: 9.039 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5491, allocations: 4.125 kB / 1.554 GB, free: 9.035 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.5497, allocations: 302.5 kB / 1.554 GB, free: 8.727 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5511, allocations: 312.4 kB / 1.555 GB, free: 8.43 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.5624, allocations: 5.07 MB / 1.56 GB, free: 3.199 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.5629, allocations: 0.8621 MB / 1.56 GB, free: 2.309 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004106/0.5633, allocations: 96.52 kB / 1.561 GB, free: 2.211 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.5635, allocations: 163.4 kB / 1.561 GB, free: 2.051 MB / 1.248 GB Notification: Performance of SimCode: time 6.51e-07/0.5635, allocations: 4 kB / 1.561 GB, free: 2.047 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05223/0.6157, allocations: 17.18 MB / 1.577 GB, free: 1.133 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.13, allocations: 11.34 kB / 1.577 GB, free: 1.125 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: 19.241660358849913]