Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001173/0.001173, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001565/0.001565, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.382/1.382, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.857/2.857, allocations: 0.5003 GB / 0.8026 GB, free: 6.766 MB / 0.6387 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.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001992/0.001992, allocations: 75.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8127, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2341/1.047, allocations: 213.7 MB / 1.549 GB, free: 2.305 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01434/1.061, allocations: 9.919 MB / 1.559 GB, free: 8.367 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/1.063, allocations: 79.31 kB / 1.559 GB, free: 8.289 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/1.065, allocations: 0.8116 MB / 1.559 GB, free: 7.473 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006663/1.071, allocations: 2.921 MB / 1.562 GB, free: 4.539 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/1.075, allocations: 1.388 MB / 1.564 GB, free: 3.16 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005043/1.08, allocations: 4.07 MB / 1.568 GB, free: 15.08 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.081, allocations: 1.11 MB / 1.569 GB, free: 13.93 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/1.085, allocations: 1.865 MB / 1.571 GB, free: 12.06 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/1.087, allocations: 1.286 MB / 1.572 GB, free: 10.78 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/1.088, allocations: 144 kB / 1.572 GB, free: 10.64 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004753/1.092, allocations: 2.498 MB / 1.574 GB, free: 8.137 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007759/1.093, allocations: 0.627 MB / 1.575 GB, free: 7.508 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/1.094, allocations: 0.8595 MB / 1.576 GB, free: 6.645 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004749/1.099, allocations: 3.021 MB / 1.579 GB, free: 3.613 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.099, allocations: 4 kB / 1.579 GB, free: 3.609 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.333e-06/1.099, allocations: 0 / 1.579 GB, free: 3.609 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.804e-05/1.099, allocations: 0 / 1.579 GB, free: 3.609 MB / 1.248 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.003236/1.102, allocations: 1.937 MB / 1.581 GB, free: 1.613 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.102, allocations: 11.97 kB / 1.581 GB, free: 1.602 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.564e-05/1.103, allocations: 26.14 kB / 1.581 GB, free: 1.574 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/1.103, allocations: 180.7 kB / 1.581 GB, free: 1.387 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/1.106, allocations: 498.5 kB / 1.581 GB, free: 0.8984 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/1.108, allocations: 1.137 MB / 1.582 GB, free: 15.71 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/1.108, allocations: 86.12 kB / 1.583 GB, free: 15.62 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.108, allocations: 112 kB / 1.583 GB, free: 15.52 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/1.11, allocations: 1.157 MB / 1.584 GB, free: 14.33 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/1.11, allocations: 0 / 1.584 GB, free: 14.33 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.111, allocations: 48 kB / 1.584 GB, free: 14.28 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/1.111, allocations: 42.12 kB / 1.584 GB, free: 14.24 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.112, allocations: 1.078 MB / 1.585 GB, free: 13.15 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/1.119, allocations: 4.433 MB / 1.589 GB, free: 8.387 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.12, allocations: 0.7585 MB / 1.59 GB, free: 7.617 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/1.121, allocations: 458.2 kB / 1.59 GB, free: 7.172 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/1.121, allocations: 296.3 kB / 1.591 GB, free: 6.828 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.121, allocations: 43.56 kB / 1.591 GB, free: 6.777 MB / 1.264 GB Notification: Performance of pre-optimization done (n=83): time 2.364e-06/1.121, allocations: 0 / 1.591 GB, free: 6.777 MB / 1.264 GB Notification: Performance of matching and sorting (n=89): time 0.005708/1.127, allocations: 2.866 MB / 1.594 GB, free: 3.824 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.127, allocations: 60.41 kB / 1.594 GB, free: 3.754 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/1.128, allocations: 0.9755 MB / 1.595 GB, free: 2.762 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/1.128, allocations: 49.64 kB / 1.595 GB, free: 2.707 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/1.129, allocations: 0.552 MB / 1.595 GB, free: 2.148 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/1.129, allocations: 325.2 kB / 1.595 GB, free: 1.828 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/1.129, allocations: 158.6 kB / 1.596 GB, free: 1.668 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.13, allocations: 342 kB / 1.596 GB, free: 1.328 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/1.13, allocations: 337.8 kB / 1.596 GB, free: 0.9961 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/1.131, allocations: 489.9 kB / 1.597 GB, free: 492 kB / 1.264 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.006226/1.137, allocations: 3.044 MB / 1.6 GB, free: 13.35 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.137, allocations: 0 / 1.6 GB, free: 13.35 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001664/1.139, allocations: 1.016 MB / 1.601 GB, free: 12.32 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.139, allocations: 8 kB / 1.601 GB, free: 12.32 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.139, allocations: 4 kB / 1.601 GB, free: 12.31 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.139, allocations: 4 kB / 1.601 GB, free: 12.31 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/1.139, allocations: 183.7 kB / 1.601 GB, free: 12.13 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.139, allocations: 15.92 kB / 1.601 GB, free: 12.11 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/1.14, allocations: 24.27 kB / 1.601 GB, free: 12.09 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/1.14, allocations: 39.98 kB / 1.601 GB, free: 12.05 MB / 1.279 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.0005819/1.141, allocations: 373.1 kB / 1.601 GB, free: 11.68 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.141, allocations: 139.1 kB / 1.601 GB, free: 11.54 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/1.142, allocations: 152.2 kB / 1.602 GB, free: 11.39 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.142, allocations: 8 kB / 1.602 GB, free: 11.38 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.142, allocations: 8 kB / 1.602 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/1.143, allocations: 1.094 MB / 1.603 GB, free: 10.21 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/1.148, allocations: 3.044 MB / 1.606 GB, free: 6.984 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.148, allocations: 8 kB / 1.606 GB, free: 6.977 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/1.149, allocations: 163.7 kB / 1.606 GB, free: 6.816 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/1.149, allocations: 93.66 kB / 1.606 GB, free: 6.719 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/1.149, allocations: 36.2 kB / 1.606 GB, free: 6.684 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/1.152, allocations: 3.086 MB / 1.609 GB, free: 3.32 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/1.152, allocations: 20.06 kB / 1.609 GB, free: 3.301 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/1.154, allocations: 1.745 MB / 1.611 GB, free: 1.418 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/1.155, allocations: 312.2 kB / 1.611 GB, free: 1.094 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/1.155, allocations: 31.92 kB / 1.611 GB, free: 1.062 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/1.156, allocations: 44.11 kB / 1.611 GB, free: 1.02 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.156, allocations: 88.25 kB / 1.611 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/1.156, allocations: 43.98 kB / 1.611 GB, free: 0.8906 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009263/1.157, allocations: 0.6995 MB / 1.612 GB, free: 188 kB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 4 kB / 1.612 GB, free: 184 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.001057/1.158, allocations: 372 kB / 1.612 GB, free: 15.81 MB / 1.295 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.003044/1.161, allocations: 2.418 MB / 1.615 GB, free: 13.25 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001319/1.162, allocations: 0.8126 MB / 1.615 GB, free: 12.44 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.162, allocations: 0 / 1.615 GB, free: 12.44 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009798/1.163, allocations: 0.658 MB / 1.616 GB, free: 11.76 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/1.167, allocations: 0.918 MB / 1.617 GB, free: 10.86 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.181, allocations: 9.714 MB / 1.626 GB, free: 0.7031 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.182, allocations: 1.253 MB / 1.628 GB, free: 15.42 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001061/1.183, allocations: 339 kB / 1.628 GB, free: 15.08 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/1.184, allocations: 475.3 kB / 1.628 GB, free: 14.62 MB / 1.311 GB Notification: Performance of SimCode: time 6.52e-07/1.184, allocations: 0 / 1.628 GB, free: 14.62 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07721/1.261, allocations: 38.64 MB / 1.666 GB, free: 8.465 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.38, allocations: 12 kB / 1.666 GB, free: 8.453 MB / 1.342 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.514726770983543]