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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 476.7 MB / 0.7611 GB, free: 11.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00298/0.00298, allocations: 63.91 kB / 1.104 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8887, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2118/1.1, allocations: 171.6 MB / 1.436 GB, free: 8.945 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007822/1.108, allocations: 4.3 MB / 1.44 GB, free: 4.637 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/1.109, allocations: 23.81 kB / 1.441 GB, free: 4.613 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/1.11, allocations: 373.9 kB / 1.441 GB, free: 4.246 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/1.113, allocations: 1.027 MB / 1.442 GB, free: 3.215 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/1.116, allocations: 0.8232 MB / 1.443 GB, free: 2.395 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002157/1.118, allocations: 1.297 MB / 1.444 GB, free: 1.098 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/1.119, allocations: 411.2 kB / 1.444 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/1.12, allocations: 0.6928 MB / 1.445 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/1.122, allocations: 480.3 kB / 1.445 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.122, allocations: 52 kB / 1.446 GB, free: 15.47 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/1.124, allocations: 0.9471 MB / 1.446 GB, free: 14.52 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/1.124, allocations: 219.3 kB / 1.447 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004495/1.124, allocations: 330.5 kB / 1.447 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/1.127, allocations: 1.133 MB / 1.448 GB, free: 12.85 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.127, allocations: 3.984 kB / 1.448 GB, free: 12.84 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.643e-06/1.127, allocations: 0 / 1.448 GB, free: 12.84 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.127, allocations: 0 / 1.448 GB, free: 12.84 MB / 1.154 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.001985/1.129, allocations: 0.9805 MB / 1.449 GB, free: 11.81 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.129, allocations: 8.031 kB / 1.449 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/1.129, allocations: 78.53 kB / 1.449 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/1.13, allocations: 267.4 kB / 1.449 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/1.131, allocations: 0.4977 MB / 1.45 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/1.132, allocations: 33 kB / 1.45 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/1.132, allocations: 40 kB / 1.45 GB, free: 10.85 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.133, allocations: 0.6107 MB / 1.451 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.133, allocations: 3.938 kB / 1.451 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/1.133, allocations: 16 kB / 1.451 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/1.133, allocations: 21 kB / 1.451 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/1.135, allocations: 0.5503 MB / 1.451 GB, free: 9.621 MB / 1.154 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.004477/1.139, allocations: 2.277 MB / 1.453 GB, free: 7.215 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/1.14, allocations: 274.3 kB / 1.454 GB, free: 6.938 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/1.141, allocations: 164.7 kB / 1.454 GB, free: 6.773 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/1.141, allocations: 0 / 1.454 GB, free: 6.773 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.141, allocations: 42.78 kB / 1.454 GB, free: 6.723 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/1.141, allocations: 0 / 1.454 GB, free: 6.723 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005324/1.146, allocations: 1.084 MB / 1.455 GB, free: 5.609 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/1.146, allocations: 85.11 kB / 1.455 GB, free: 5.508 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/1.147, allocations: 0.5495 MB / 1.455 GB, free: 4.949 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/1.147, allocations: 41.64 kB / 1.455 GB, free: 4.902 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/1.147, allocations: 308 kB / 1.456 GB, free: 4.598 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/1.147, allocations: 43.67 kB / 1.456 GB, free: 4.555 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.147, allocations: 61.64 kB / 1.456 GB, free: 4.488 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.148, allocations: 354.8 kB / 1.456 GB, free: 4.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/1.148, allocations: 191.8 kB / 1.456 GB, free: 3.945 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/1.149, allocations: 265.3 kB / 1.457 GB, free: 3.652 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.15, allocations: 418.8 kB / 1.457 GB, free: 3.215 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.15, allocations: 0 / 1.457 GB, free: 3.215 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00276/1.153, allocations: 0.7263 MB / 1.458 GB, free: 2.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.153, allocations: 8 kB / 1.458 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.153, allocations: 0 / 1.458 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/1.153, allocations: 192.8 kB / 1.458 GB, free: 2.281 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/1.154, allocations: 63.89 kB / 1.458 GB, free: 2.219 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/1.158, allocations: 2.234 MB / 1.46 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/1.159, allocations: 83.64 kB / 1.46 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/1.159, allocations: 8 kB / 1.46 GB, free: 15.76 MB / 1.17 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.000318/1.159, allocations: 190.3 kB / 1.46 GB, free: 15.56 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.159, allocations: 51.67 kB / 1.461 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/1.159, allocations: 59.97 kB / 1.461 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.159, allocations: 0 / 1.461 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.159, allocations: 3.984 kB / 1.461 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/1.159, allocations: 0 / 1.461 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/1.163, allocations: 1.137 MB / 1.462 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.163, allocations: 0 / 1.462 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.163, allocations: 40.02 kB / 1.462 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/1.163, allocations: 176.7 kB / 1.462 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.163, allocations: 0 / 1.462 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/1.167, allocations: 2.199 MB / 1.464 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.167, allocations: 4.031 kB / 1.464 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/1.17, allocations: 0.7004 MB / 1.465 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/1.17, allocations: 176.7 kB / 1.465 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/1.17, allocations: 0 / 1.465 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/1.171, allocations: 56.69 kB / 1.465 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/1.171, allocations: 15.92 kB / 1.465 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/1.171, allocations: 11.98 kB / 1.465 GB, free: 10.69 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005468/1.172, allocations: 398.8 kB / 1.465 GB, free: 10.3 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/1.172, allocations: 0 / 1.465 GB, free: 10.3 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006738/1.172, allocations: 179.8 kB / 1.466 GB, free: 10.12 MB / 1.17 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.003334/1.176, allocations: 1.306 MB / 1.467 GB, free: 8.793 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.177, allocations: 0.5101 MB / 1.467 GB, free: 8.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.177, allocations: 7.938 kB / 1.467 GB, free: 8.262 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/1.178, allocations: 299 kB / 1.468 GB, free: 7.957 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.18, allocations: 314.1 kB / 1.468 GB, free: 7.652 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.191, allocations: 5.075 MB / 1.473 GB, free: 2.418 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/1.192, allocations: 0.8582 MB / 1.474 GB, free: 1.531 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004867/1.193, allocations: 112.5 kB / 1.474 GB, free: 1.418 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/1.193, allocations: 163.4 kB / 1.474 GB, free: 1.258 MB / 1.17 GB Notification: Performance of SimCode: time 1.243e-06/1.193, allocations: 0 / 1.474 GB, free: 1.258 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/1.248, allocations: 16.97 MB / 1.491 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.85, allocations: 10.42 kB / 1.491 GB, free: 0.6562 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_2/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.86116997199133]