Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.00116/0.00116, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001299/0.001299, allocations: 221.9 kB / 22.25 MB, free: 5.102 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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.927/2.927, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001947/0.001947, allocations: 70.95 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2962, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.211/0.5072, allocations: 186 MB / 1.507 GB, free: 6.848 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.5215, allocations: 9.283 MB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5227, allocations: 83.31 kB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.5244, allocations: 0.7454 MB / 1.517 GB, free: 12.71 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006139/0.5306, allocations: 2.935 MB / 1.52 GB, free: 9.77 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.5338, allocations: 1.441 MB / 1.522 GB, free: 8.336 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005067/0.5389, allocations: 4.177 MB / 1.526 GB, free: 4.141 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.5402, allocations: 1.001 MB / 1.527 GB, free: 3.105 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.5435, allocations: 1.88 MB / 1.529 GB, free: 1.219 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.5461, allocations: 1.297 MB / 1.53 GB, free: 15.93 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.5463, allocations: 144 kB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.55, allocations: 1.967 MB / 1.532 GB, free: 13.81 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006919/0.5507, allocations: 0.6193 MB / 1.532 GB, free: 13.19 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009459/0.5517, allocations: 0.7236 MB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.5558, allocations: 2.947 MB / 1.536 GB, free: 9.508 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5558, allocations: 7.922 kB / 1.536 GB, free: 9.5 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5558, allocations: 0 / 1.536 GB, free: 9.5 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.5558, allocations: 0 / 1.536 GB, free: 9.5 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003117/0.5589, allocations: 1.867 MB / 1.538 GB, free: 7.594 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.559, allocations: 16.03 kB / 1.538 GB, free: 7.578 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.5592, allocations: 168.8 kB / 1.538 GB, free: 7.402 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.5623, allocations: 490.5 kB / 1.538 GB, free: 6.922 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.5644, allocations: 1.064 MB / 1.54 GB, free: 5.82 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.5644, allocations: 90.14 kB / 1.54 GB, free: 5.73 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.5646, allocations: 112 kB / 1.54 GB, free: 5.621 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.5668, allocations: 1.612 MB / 1.541 GB, free: 3.867 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.5668, allocations: 0 / 1.541 GB, free: 3.867 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5669, allocations: 48 kB / 1.541 GB, free: 3.82 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.567, allocations: 38.14 kB / 1.541 GB, free: 3.781 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.5686, allocations: 1.07 MB / 1.542 GB, free: 2.703 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/0.5741, allocations: 2.9 MB / 1.545 GB, free: 15.73 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.5753, allocations: 0.751 MB / 1.546 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.5759, allocations: 458.2 kB / 1.546 GB, free: 14.53 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.5762, allocations: 60.95 kB / 1.546 GB, free: 14.46 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5762, allocations: 43.56 kB / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.405e-06/0.5762, allocations: 0 / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005245/0.5815, allocations: 2.636 MB / 1.549 GB, free: 11.75 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5815, allocations: 68.41 kB / 1.549 GB, free: 11.67 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5827, allocations: 0.9871 MB / 1.55 GB, free: 10.66 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.5828, allocations: 41.7 kB / 1.55 GB, free: 10.62 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.5832, allocations: 0.5482 MB / 1.551 GB, free: 10.06 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.5835, allocations: 333.1 kB / 1.551 GB, free: 9.734 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5838, allocations: 154.6 kB / 1.551 GB, free: 9.578 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5839, allocations: 337.9 kB / 1.551 GB, free: 9.242 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.5844, allocations: 337.8 kB / 1.552 GB, free: 8.914 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.5851, allocations: 0.5827 MB / 1.552 GB, free: 8.266 MB / 1.248 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005948/0.5911, allocations: 2.814 MB / 1.555 GB, free: 5.426 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5911, allocations: 4 kB / 1.555 GB, free: 5.422 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001521/0.5926, allocations: 1.016 MB / 1.556 GB, free: 4.398 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5926, allocations: 4 kB / 1.556 GB, free: 4.395 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5926, allocations: 4.375 kB / 1.556 GB, free: 4.391 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5927, allocations: 12 kB / 1.556 GB, free: 4.379 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.5934, allocations: 183.7 kB / 1.556 GB, free: 4.199 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5934, allocations: 4 kB / 1.556 GB, free: 4.195 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/0.5943, allocations: 27.95 kB / 1.556 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.5944, allocations: 35.98 kB / 1.556 GB, free: 4.133 MB / 1.248 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005834/0.595, allocations: 377.5 kB / 1.557 GB, free: 3.754 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.5952, allocations: 135.1 kB / 1.557 GB, free: 3.621 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.5955, allocations: 148.3 kB / 1.557 GB, free: 3.473 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5955, allocations: 8 kB / 1.557 GB, free: 3.465 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.5955, allocations: 4 kB / 1.557 GB, free: 3.461 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/0.5971, allocations: 1.098 MB / 1.558 GB, free: 2.289 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/0.6018, allocations: 2.801 MB / 1.561 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6018, allocations: 12 kB / 1.561 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.6025, allocations: 163.7 kB / 1.561 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.6028, allocations: 106.5 kB / 1.561 GB, free: 15.04 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.6029, allocations: 28 kB / 1.561 GB, free: 15.01 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.6054, allocations: 2.871 MB / 1.564 GB, free: 11.91 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.6054, allocations: 16.06 kB / 1.564 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.6078, allocations: 1.742 MB / 1.566 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.6085, allocations: 231.1 kB / 1.566 GB, free: 9.789 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.6086, allocations: 43.92 kB / 1.566 GB, free: 9.746 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000882/0.6095, allocations: 41.05 kB / 1.566 GB, free: 9.707 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6097, allocations: 88.08 kB / 1.566 GB, free: 9.621 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/0.6097, allocations: 44.11 kB / 1.566 GB, free: 9.578 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000922/0.6107, allocations: 0.6995 MB / 1.567 GB, free: 8.871 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6107, allocations: 3.938 kB / 1.567 GB, free: 8.867 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001154/0.6118, allocations: 372 kB / 1.567 GB, free: 8.504 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002987/0.6148, allocations: 2.408 MB / 1.569 GB, free: 5.945 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.6161, allocations: 0.8085 MB / 1.57 GB, free: 5.137 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.6161, allocations: 4 kB / 1.57 GB, free: 5.133 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009462/0.6171, allocations: 0.6582 MB / 1.571 GB, free: 4.449 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.6209, allocations: 0.9307 MB / 1.572 GB, free: 3.539 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.6341, allocations: 9.723 MB / 1.581 GB, free: 9.379 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.6348, allocations: 0.6612 MB / 1.582 GB, free: 8.684 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001171/0.636, allocations: 339 kB / 1.582 GB, free: 8.348 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/0.6367, allocations: 471.3 kB / 1.583 GB, free: 7.887 MB / 1.279 GB Notification: Performance of SimCode: time 8.52e-07/0.6367, allocations: 0 / 1.583 GB, free: 7.887 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6406/1.277, allocations: 42.78 MB / 1.625 GB, free: 269.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.21, allocations: 10.95 kB / 1.625 GB, free: 269.2 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.25818383699516]