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.001853/0.001853, allocations: 110.6 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.002298/0.002298, allocations: 220.2 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.988 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.711/2.711, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.001993/0.001993, allocations: 65.62 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2614/0.5914, allocations: 174.7 MB / 1.454 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007728/0.5991, allocations: 4.328 MB / 1.458 GB, free: 7.922 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.6, allocations: 27.75 kB / 1.458 GB, free: 7.895 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.6013, allocations: 373.9 kB / 1.459 GB, free: 7.527 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.6043, allocations: 1.046 MB / 1.46 GB, free: 6.477 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.6067, allocations: 0.8362 MB / 1.46 GB, free: 5.645 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.609, allocations: 1.321 MB / 1.462 GB, free: 4.32 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.6097, allocations: 376 kB / 1.462 GB, free: 3.949 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.6113, allocations: 0.7199 MB / 1.463 GB, free: 3.227 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.6129, allocations: 481 kB / 1.463 GB, free: 2.758 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.613, allocations: 52 kB / 1.463 GB, free: 2.707 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.6149, allocations: 0.951 MB / 1.464 GB, free: 1.754 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.6152, allocations: 219.3 kB / 1.464 GB, free: 1.539 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.6156, allocations: 330.5 kB / 1.465 GB, free: 1.215 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.6177, allocations: 1.137 MB / 1.466 GB, free: 76 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6177, allocations: 0 / 1.466 GB, free: 76 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6177, allocations: 8 kB / 1.466 GB, free: 68 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.6177, allocations: 3.938 kB / 1.466 GB, free: 64 kB / 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.002032/0.6198, allocations: 0.8935 MB / 1.467 GB, free: 15.13 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6198, allocations: 12.03 kB / 1.467 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.6199, allocations: 82.53 kB / 1.467 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.6216, allocations: 271.3 kB / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.6225, allocations: 438.5 kB / 1.467 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.6226, allocations: 29 kB / 1.467 GB, free: 14.29 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.6226, allocations: 44 kB / 1.468 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6239, allocations: 0.6107 MB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6239, allocations: 3.938 kB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.624, allocations: 19.94 kB / 1.468 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.624, allocations: 21 kB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.6255, allocations: 0.5464 MB / 1.469 GB, free: 13.02 MB / 1.17 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.004386/0.6299, allocations: 2.229 MB / 1.471 GB, free: 10.67 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.6308, allocations: 274.3 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.6313, allocations: 164.7 kB / 1.471 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.6313, allocations: 0 / 1.471 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.6314, allocations: 42.55 kB / 1.471 GB, free: 10.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.6314, allocations: 0 / 1.471 GB, free: 10.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.005975/0.6374, allocations: 1.017 MB / 1.472 GB, free: 9.148 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.6375, allocations: 77.11 kB / 1.472 GB, free: 9.055 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/0.6383, allocations: 0.5612 MB / 1.473 GB, free: 8.484 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.6384, allocations: 25.7 kB / 1.473 GB, free: 8.453 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6387, allocations: 312.1 kB / 1.473 GB, free: 8.145 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.6388, allocations: 39.69 kB / 1.473 GB, free: 8.105 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.6389, allocations: 65.64 kB / 1.473 GB, free: 8.035 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6391, allocations: 350.8 kB / 1.474 GB, free: 7.684 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.6397, allocations: 191.8 kB / 1.474 GB, free: 7.496 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.6404, allocations: 267 kB / 1.474 GB, free: 7.203 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.6415, allocations: 404.2 kB / 1.475 GB, free: 6.777 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6415, allocations: 4 kB / 1.475 GB, free: 6.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00272/0.6442, allocations: 0.7349 MB / 1.475 GB, free: 6.031 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6442, allocations: 4 kB / 1.475 GB, free: 6.027 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6443, allocations: 7.984 kB / 1.475 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000654/0.6449, allocations: 184.8 kB / 1.475 GB, free: 5.836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.6453, allocations: 71.88 kB / 1.476 GB, free: 5.766 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.6497, allocations: 2.141 MB / 1.478 GB, free: 3.512 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.6503, allocations: 75.69 kB / 1.478 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.6504, allocations: 12 kB / 1.478 GB, free: 3.426 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.0003889/0.6507, allocations: 186.4 kB / 1.478 GB, free: 3.234 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6509, allocations: 51.67 kB / 1.478 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.651, allocations: 63.97 kB / 1.478 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.651, allocations: 0 / 1.478 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.651, allocations: 0 / 1.478 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.651, allocations: 0 / 1.478 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.6542, allocations: 1.108 MB / 1.479 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.6542, allocations: 0 / 1.479 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.6544, allocations: 40.02 kB / 1.479 GB, free: 1.914 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006387/0.6551, allocations: 180.7 kB / 1.479 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.6551, allocations: 4 kB / 1.479 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003987/0.6591, allocations: 2.084 MB / 1.481 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6591, allocations: 64 / 1.481 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.6617, allocations: 0.7042 MB / 1.482 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.6622, allocations: 99.55 kB / 1.482 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.6623, allocations: 4 kB / 1.482 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.6629, allocations: 51.88 kB / 1.482 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.6629, allocations: 15.92 kB / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.663, allocations: 11.98 kB / 1.482 GB, free: 14.62 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006068/0.6636, allocations: 394.8 kB / 1.483 GB, free: 14.24 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6636, allocations: 0 / 1.483 GB, free: 14.24 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006502/0.6642, allocations: 179.8 kB / 1.483 GB, free: 14.06 MB / 1.186 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.003296/0.6675, allocations: 1.307 MB / 1.484 GB, free: 12.72 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.6692, allocations: 0.5218 MB / 1.485 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6692, allocations: 0 / 1.485 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.67, allocations: 295 kB / 1.485 GB, free: 11.88 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.6715, allocations: 296.4 kB / 1.485 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.684, allocations: 5.089 MB / 1.49 GB, free: 6.352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.6846, allocations: 0.862 MB / 1.491 GB, free: 5.461 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000463/0.6851, allocations: 108.5 kB / 1.491 GB, free: 5.352 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.6853, allocations: 167.4 kB / 1.491 GB, free: 5.188 MB / 1.186 GB Notification: Performance of SimCode: time 1.683e-06/0.6853, allocations: 0 / 1.491 GB, free: 5.188 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05967/0.745, allocations: 17.17 MB / 1.508 GB, free: 4.332 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.14, allocations: 17.66 kB / 1.508 GB, free: 4.32 MB / 1.201 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.93174480088055]