Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001541/0.001541, allocations: 116.1 kB / 17.16 MB, free: 5.906 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.001694/0.001694, allocations: 215 kB / 20.13 MB, free: 2.961 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.819/2.819, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_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.002033/0.002033, allocations: 64.17 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9107, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2/1.111, allocations: 174.5 MB / 1.492 GB, free: 7.711 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007127/1.118, allocations: 4.31 MB / 1.496 GB, free: 4.223 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/1.119, allocations: 27.16 kB / 1.496 GB, free: 4.211 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/1.12, allocations: 366.5 kB / 1.496 GB, free: 3.922 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/1.122, allocations: 1.032 MB / 1.497 GB, free: 3.129 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/1.125, allocations: 0.8217 MB / 1.498 GB, free: 2.523 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00191/1.127, allocations: 1.293 MB / 1.5 GB, free: 1.785 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/1.127, allocations: 417.4 kB / 1.5 GB, free: 1.512 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/1.129, allocations: 0.7363 MB / 1.501 GB, free: 1.066 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/1.13, allocations: 485.2 kB / 1.501 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.634e-05/1.13, allocations: 51.94 kB / 1.501 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/1.132, allocations: 0.943 MB / 1.502 GB, free: 268 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/1.132, allocations: 214.2 kB / 1.502 GB, free: 116 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/1.132, allocations: 334.4 kB / 1.503 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/1.134, allocations: 1.141 MB / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.134, allocations: 0 / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.062e-06/1.134, allocations: 0 / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.668e-06/1.134, allocations: 0 / 1.504 GB, free: 14.73 MB / 1.186 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.001648/1.136, allocations: 0.9727 MB / 1.505 GB, free: 13.7 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/1.136, allocations: 11.98 kB / 1.505 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.216e-05/1.136, allocations: 17 kB / 1.505 GB, free: 13.67 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/1.136, allocations: 82.53 kB / 1.505 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/1.138, allocations: 259.3 kB / 1.505 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/1.138, allocations: 0.5017 MB / 1.506 GB, free: 12.79 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/1.138, allocations: 29 kB / 1.506 GB, free: 12.76 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/1.138, allocations: 40 kB / 1.506 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.14, allocations: 0.6107 MB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.14, allocations: 4 kB / 1.506 GB, free: 12.08 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/1.14, allocations: 27.98 kB / 1.506 GB, free: 12.05 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/1.14, allocations: 17 kB / 1.506 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/1.141, allocations: 0.5464 MB / 1.507 GB, free: 11.49 MB / 1.186 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.004023/1.145, allocations: 2.273 MB / 1.509 GB, free: 9.094 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/1.146, allocations: 278.2 kB / 1.509 GB, free: 8.812 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/1.147, allocations: 164.7 kB / 1.509 GB, free: 8.648 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.147, allocations: 4 kB / 1.509 GB, free: 8.645 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/1.147, allocations: 34.56 kB / 1.509 GB, free: 8.602 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/1.147, allocations: 0 / 1.509 GB, free: 8.602 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005277/1.152, allocations: 1.092 MB / 1.51 GB, free: 7.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.152, allocations: 85.03 kB / 1.511 GB, free: 7.379 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/1.153, allocations: 0.5496 MB / 1.511 GB, free: 6.82 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-05/1.153, allocations: 29.7 kB / 1.511 GB, free: 6.785 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.153, allocations: 308 kB / 1.511 GB, free: 6.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/1.153, allocations: 39.69 kB / 1.511 GB, free: 6.441 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.153, allocations: 65.61 kB / 1.512 GB, free: 6.371 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.154, allocations: 358.8 kB / 1.512 GB, free: 6.012 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/1.154, allocations: 191.8 kB / 1.512 GB, free: 5.824 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/1.155, allocations: 278.5 kB / 1.512 GB, free: 5.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.156, allocations: 398.5 kB / 1.513 GB, free: 5.102 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.156, allocations: 4 kB / 1.513 GB, free: 5.098 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002712/1.159, allocations: 0.7241 MB / 1.513 GB, free: 4.363 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.159, allocations: 4 kB / 1.513 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.159, allocations: 7.984 kB / 1.513 GB, free: 4.352 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/1.16, allocations: 180.8 kB / 1.514 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/1.16, allocations: 75.88 kB / 1.514 GB, free: 4.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/1.164, allocations: 2.227 MB / 1.516 GB, free: 1.738 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/1.165, allocations: 75.62 kB / 1.516 GB, free: 1.664 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/1.165, allocations: 16 kB / 1.516 GB, free: 1.648 MB / 1.186 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.0003187/1.165, allocations: 189.8 kB / 1.516 GB, free: 1.453 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.165, allocations: 67.53 kB / 1.516 GB, free: 1.387 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.165, allocations: 44.05 kB / 1.516 GB, free: 1.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.165, allocations: 0 / 1.516 GB, free: 1.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/1.165, allocations: 0 / 1.516 GB, free: 1.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.165, allocations: 11.98 kB / 1.516 GB, free: 1.328 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/1.169, allocations: 1.125 MB / 1.517 GB, free: 140 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.169, allocations: 3.984 kB / 1.517 GB, free: 136 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/1.169, allocations: 39.95 kB / 1.517 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/1.169, allocations: 176.8 kB / 1.518 GB, free: 15.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.169, allocations: 11.92 kB / 1.518 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/1.173, allocations: 2.187 MB / 1.52 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.173, allocations: 3.938 kB / 1.52 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.176, allocations: 0.7004 MB / 1.52 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/1.176, allocations: 168.7 kB / 1.521 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/1.176, allocations: 15.92 kB / 1.521 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/1.177, allocations: 44.05 kB / 1.521 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/1.177, allocations: 15.92 kB / 1.521 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/1.177, allocations: 11.98 kB / 1.521 GB, free: 12.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004955/1.177, allocations: 394.8 kB / 1.521 GB, free: 12.19 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.177, allocations: 0 / 1.521 GB, free: 12.19 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006647/1.178, allocations: 179.8 kB / 1.521 GB, free: 12.02 MB / 1.201 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.003136/1.181, allocations: 1.307 MB / 1.522 GB, free: 10.68 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.183, allocations: 0.5141 MB / 1.523 GB, free: 10.15 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.183, allocations: 8 kB / 1.523 GB, free: 10.14 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/1.184, allocations: 298.9 kB / 1.523 GB, free: 9.836 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.185, allocations: 303.9 kB / 1.524 GB, free: 9.543 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.197, allocations: 5.075 MB / 1.528 GB, free: 4.309 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/1.197, allocations: 0.866 MB / 1.529 GB, free: 3.414 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004169/1.198, allocations: 112.5 kB / 1.529 GB, free: 3.301 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/1.198, allocations: 167.1 kB / 1.53 GB, free: 3.145 MB / 1.201 GB Notification: Performance of SimCode: time 7.21e-07/1.198, allocations: 0 / 1.53 GB, free: 3.145 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/1.242, allocations: 17.01 MB / 1.546 GB, free: 2.527 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.3, allocations: 11.92 kB / 1.546 GB, free: 2.516 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.77095278503839]