Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001576/0.001576, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.002008/0.002008, allocations: 224.2 kB / 22.26 MB, free: 5.211 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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 2.955/2.955, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001848/0.001848, allocations: 66.66 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1828/0.4745, allocations: 174.5 MB / 1.523 GB, free: 9.309 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.4798, allocations: 3.424 MB / 1.527 GB, free: 5.879 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.4804, allocations: 27.75 kB / 1.527 GB, free: 5.852 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.4813, allocations: 334.1 kB / 1.527 GB, free: 5.523 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.4836, allocations: 1.074 MB / 1.528 GB, free: 4.445 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.4852, allocations: 0.7012 MB / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.4871, allocations: 1.568 MB / 1.53 GB, free: 2.176 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006004/0.4877, allocations: 385.9 kB / 1.531 GB, free: 1.797 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.489, allocations: 0.7357 MB / 1.531 GB, free: 1.059 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.4901, allocations: 0.49 MB / 1.532 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4902, allocations: 56 kB / 1.532 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.4917, allocations: 0.8847 MB / 1.533 GB, free: 15.63 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.492, allocations: 251.2 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.4924, allocations: 334.5 kB / 1.533 GB, free: 15.05 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.4939, allocations: 1.137 MB / 1.534 GB, free: 13.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4939, allocations: 0 / 1.534 GB, free: 13.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4939, allocations: 3.938 kB / 1.534 GB, free: 13.91 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.4939, allocations: 0 / 1.534 GB, free: 13.91 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001477/0.4954, allocations: 0.8664 MB / 1.535 GB, free: 13.01 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4954, allocations: 8.031 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.4955, allocations: 86.52 kB / 1.535 GB, free: 12.91 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.4967, allocations: 179.4 kB / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.4975, allocations: 470.5 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.4975, allocations: 29 kB / 1.536 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.4976, allocations: 47.94 kB / 1.536 GB, free: 12.18 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.4984, allocations: 470.4 kB / 1.536 GB, free: 11.71 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4984, allocations: 0 / 1.536 GB, free: 11.71 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.4984, allocations: 24 kB / 1.536 GB, free: 11.69 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.4985, allocations: 17 kB / 1.536 GB, free: 11.67 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.4991, allocations: 411.7 kB / 1.537 GB, free: 11.27 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.5017, allocations: 1.772 MB / 1.539 GB, free: 9.348 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.5022, allocations: 282.6 kB / 1.539 GB, free: 9.062 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.5024, allocations: 168.8 kB / 1.539 GB, free: 8.895 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.5025, allocations: 23.92 kB / 1.539 GB, free: 8.871 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5026, allocations: 34.56 kB / 1.539 GB, free: 8.828 MB / 1.232 GB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.5026, allocations: 4 kB / 1.539 GB, free: 8.824 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.001867/0.5044, allocations: 0.9903 MB / 1.54 GB, free: 7.801 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5045, allocations: 55.41 kB / 1.54 GB, free: 7.734 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.505, allocations: 457.9 kB / 1.541 GB, free: 7.281 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.505, allocations: 33.7 kB / 1.541 GB, free: 7.242 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.5052, allocations: 256.5 kB / 1.541 GB, free: 6.988 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5053, allocations: 115 kB / 1.541 GB, free: 6.875 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.5054, allocations: 69.7 kB / 1.541 GB, free: 6.801 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5056, allocations: 358.8 kB / 1.541 GB, free: 6.441 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.5058, allocations: 135.9 kB / 1.541 GB, free: 6.309 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.5061, allocations: 193.9 kB / 1.542 GB, free: 6.098 MB / 1.232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.5079, allocations: 0.789 MB / 1.542 GB, free: 5.289 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5079, allocations: 3.938 kB / 1.542 GB, free: 5.285 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006137/0.5085, allocations: 424.8 kB / 1.543 GB, free: 4.863 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5085, allocations: 8 kB / 1.543 GB, free: 4.855 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.5085, allocations: 0 / 1.543 GB, free: 4.855 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5085, allocations: 4 kB / 1.543 GB, free: 4.852 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.5088, allocations: 71.91 kB / 1.543 GB, free: 4.781 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.5089, allocations: 4 kB / 1.543 GB, free: 4.777 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.5092, allocations: 8 kB / 1.543 GB, free: 4.77 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5092, allocations: 15.98 kB / 1.543 GB, free: 4.754 MB / 1.232 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.5095, allocations: 230.3 kB / 1.543 GB, free: 4.52 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.5096, allocations: 51.67 kB / 1.543 GB, free: 4.469 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.5097, allocations: 56.77 kB / 1.543 GB, free: 4.414 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5097, allocations: 7.984 kB / 1.543 GB, free: 4.406 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5097, allocations: 0 / 1.543 GB, free: 4.406 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005003/0.5102, allocations: 412.2 kB / 1.544 GB, free: 3.973 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.512, allocations: 1.215 MB / 1.545 GB, free: 2.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.512, allocations: 4 kB / 1.545 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.5123, allocations: 75.84 kB / 1.545 GB, free: 2.582 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5124, allocations: 4 kB / 1.545 GB, free: 2.578 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.5124, allocations: 12 kB / 1.545 GB, free: 2.566 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.5124, allocations: 7.984 kB / 1.545 GB, free: 2.559 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.5124, allocations: 12.44 kB / 1.545 GB, free: 2.547 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.5133, allocations: 0.7034 MB / 1.546 GB, free: 1.777 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5135, allocations: 99.66 kB / 1.546 GB, free: 1.68 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.5135, allocations: 8 kB / 1.546 GB, free: 1.672 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.5139, allocations: 19.98 kB / 1.546 GB, free: 1.652 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.514, allocations: 31.83 kB / 1.546 GB, free: 1.621 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.514, allocations: 20 kB / 1.546 GB, free: 1.602 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003619/0.5144, allocations: 335.2 kB / 1.546 GB, free: 1.277 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5144, allocations: 0 / 1.546 GB, free: 1.277 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005101/0.5149, allocations: 140 kB / 1.546 GB, free: 1.141 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.5162, allocations: 1.288 MB / 1.548 GB, free: 15.77 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006015/0.5168, allocations: 319.7 kB / 1.548 GB, free: 15.46 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5169, allocations: 4.375 kB / 1.548 GB, free: 15.46 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.5171, allocations: 159.7 kB / 1.548 GB, free: 15.3 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.5189, allocations: 371.6 kB / 1.548 GB, free: 14.95 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.5245, allocations: 4.417 MB / 1.553 GB, free: 10.31 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.525, allocations: 0.8823 MB / 1.554 GB, free: 9.398 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.5254, allocations: 128.7 kB / 1.554 GB, free: 9.273 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.5257, allocations: 171.4 kB / 1.554 GB, free: 9.105 MB / 1.248 GB Notification: Performance of SimCode: time 3.91e-07/0.5257, allocations: 0 / 1.554 GB, free: 9.105 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/0.5745, allocations: 15.88 MB / 1.569 GB, free: 9.488 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.35, allocations: 5.781 kB / 1.569 GB, free: 9.484 MB / 1.264 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 17.41298426198773]