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.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.001727/0.001727, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002185/0.002185, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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"}) [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.002051/0.002051, allocations: 68.31 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3278, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1939/0.5216, allocations: 150.9 MB / 1.43 GB, free: 5.047 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.5287, allocations: 4.023 MB / 1.434 GB, free: 1.016 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008453/0.5295, allocations: 31.75 kB / 1.434 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.5307, allocations: 330 kB / 1.434 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.5335, allocations: 1.034 MB / 1.435 GB, free: 15.62 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.5359, allocations: 0.8339 MB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.5379, allocations: 1.309 MB / 1.437 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007271/0.5386, allocations: 373.7 kB / 1.438 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.5401, allocations: 0.7162 MB / 1.438 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.5415, allocations: 465 kB / 1.439 GB, free: 11.94 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.5416, allocations: 52 kB / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.5434, allocations: 0.756 MB / 1.44 GB, free: 11.13 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.5437, allocations: 219.3 kB / 1.44 GB, free: 10.92 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.5442, allocations: 278.8 kB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.5461, allocations: 1.121 MB / 1.441 GB, free: 9.52 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5462, allocations: 3.938 kB / 1.441 GB, free: 9.516 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5462, allocations: 0 / 1.441 GB, free: 9.516 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.5462, allocations: 0 / 1.441 GB, free: 9.516 MB / 1.139 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.001997/0.5482, allocations: 0.8858 MB / 1.442 GB, free: 8.594 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5482, allocations: 8.031 kB / 1.442 GB, free: 8.586 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.5484, allocations: 86.52 kB / 1.442 GB, free: 8.492 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.55, allocations: 263.4 kB / 1.442 GB, free: 8.234 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.551, allocations: 442.5 kB / 1.443 GB, free: 7.777 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.5511, allocations: 33 kB / 1.443 GB, free: 7.746 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.5512, allocations: 36 kB / 1.443 GB, free: 7.711 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5527, allocations: 0.8985 MB / 1.444 GB, free: 6.723 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5527, allocations: 0 / 1.444 GB, free: 6.723 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.5527, allocations: 19.94 kB / 1.444 GB, free: 6.703 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.5528, allocations: 20.98 kB / 1.444 GB, free: 6.684 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.5543, allocations: 0.5425 MB / 1.444 GB, free: 6.141 MB / 1.139 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.004245/0.5585, allocations: 1.907 MB / 1.446 GB, free: 4.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.5595, allocations: 282.2 kB / 1.446 GB, free: 3.875 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.56, allocations: 168.7 kB / 1.447 GB, free: 3.707 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.56, allocations: 0 / 1.447 GB, free: 3.707 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5601, allocations: 42.55 kB / 1.447 GB, free: 3.656 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.5601, allocations: 4 kB / 1.447 GB, free: 3.652 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.005155/0.5652, allocations: 1.009 MB / 1.448 GB, free: 2.633 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.5653, allocations: 89.03 kB / 1.448 GB, free: 2.527 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.5661, allocations: 0.5573 MB / 1.448 GB, free: 1.961 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.5662, allocations: 29.7 kB / 1.448 GB, free: 1.926 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.5664, allocations: 304.1 kB / 1.449 GB, free: 1.625 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.5665, allocations: 47.62 kB / 1.449 GB, free: 1.578 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5666, allocations: 61.66 kB / 1.449 GB, free: 1.512 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.5668, allocations: 354.8 kB / 1.449 GB, free: 1.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.5674, allocations: 183.8 kB / 1.449 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.5681, allocations: 300.7 kB / 1.449 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.5693, allocations: 402.5 kB / 1.45 GB, free: 228 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5693, allocations: 4 kB / 1.45 GB, free: 224 kB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002818/0.5721, allocations: 0.7312 MB / 1.451 GB, free: 15.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.5722, allocations: 7.984 kB / 1.451 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5722, allocations: 4 kB / 1.451 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000715/0.5729, allocations: 176.7 kB / 1.451 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.5733, allocations: 75.88 kB / 1.451 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/0.5778, allocations: 2.097 MB / 1.453 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.5785, allocations: 79.64 kB / 1.453 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.5785, allocations: 15.97 kB / 1.453 GB, free: 12.91 MB / 1.154 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.0003484/0.5789, allocations: 193.7 kB / 1.453 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.579, allocations: 55.67 kB / 1.453 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.5792, allocations: 51.97 kB / 1.453 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5792, allocations: 0 / 1.453 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5792, allocations: 8 kB / 1.453 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5792, allocations: 0 / 1.453 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.5825, allocations: 1.046 MB / 1.454 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5825, allocations: 0 / 1.454 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.5827, allocations: 35.95 kB / 1.454 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005794/0.5833, allocations: 192.7 kB / 1.454 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5833, allocations: 0 / 1.454 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.5872, allocations: 2.053 MB / 1.456 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5872, allocations: 4 kB / 1.456 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.5898, allocations: 0.7042 MB / 1.457 GB, free: 8.367 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.5901, allocations: 99.59 kB / 1.457 GB, free: 8.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.5902, allocations: 4 kB / 1.457 GB, free: 8.266 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.5908, allocations: 51.88 kB / 1.457 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.5908, allocations: 11.98 kB / 1.457 GB, free: 8.203 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.5909, allocations: 15.98 kB / 1.457 GB, free: 8.188 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005403/0.5914, allocations: 394.8 kB / 1.458 GB, free: 7.805 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5914, allocations: 3.938 kB / 1.458 GB, free: 7.801 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006354/0.5921, allocations: 179.8 kB / 1.458 GB, free: 7.625 MB / 1.154 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.0031/0.5952, allocations: 1.304 MB / 1.459 GB, free: 6.281 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.5968, allocations: 0.5179 MB / 1.46 GB, free: 5.75 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5969, allocations: 0 / 1.46 GB, free: 5.75 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.5976, allocations: 295 kB / 1.46 GB, free: 5.449 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.5991, allocations: 304.6 kB / 1.46 GB, free: 5.16 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.6112, allocations: 5.083 MB / 1.465 GB, free: 15.92 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6116, allocations: 263.9 kB / 1.465 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004587/0.612, allocations: 104.5 kB / 1.466 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.6123, allocations: 167.4 kB / 1.466 GB, free: 15.37 MB / 1.17 GB Notification: Performance of SimCode: time 9.12e-07/0.6123, allocations: 0 / 1.466 GB, free: 15.37 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/0.6766, allocations: 18.31 MB / 1.484 GB, free: 13.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.03, allocations: 6.844 kB / 1.484 GB, free: 13.49 MB / 1.186 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.59983143210411]