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.001383/0.001383, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001547/0.001547, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.894/2.894, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.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.001839/0.001839, allocations: 61.48 kB / 1.171 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 179 MB / 1.345 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2323/0.5478, allocations: 214.2 MB / 1.555 GB, free: 9.406 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.5622, allocations: 9.944 MB / 1.564 GB, free: 15.44 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.5637, allocations: 79.31 kB / 1.564 GB, free: 15.36 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.5656, allocations: 0.8194 MB / 1.565 GB, free: 14.54 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006621/0.5722, allocations: 2.967 MB / 1.568 GB, free: 11.56 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.5756, allocations: 1.457 MB / 1.569 GB, free: 10.11 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005167/0.5807, allocations: 4.191 MB / 1.574 GB, free: 5.906 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.5823, allocations: 0.9975 MB / 1.575 GB, free: 4.879 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.5862, allocations: 1.869 MB / 1.576 GB, free: 3.004 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.5891, allocations: 1.316 MB / 1.578 GB, free: 1.691 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.5895, allocations: 144 kB / 1.578 GB, free: 1.551 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.5944, allocations: 2.541 MB / 1.58 GB, free: 15 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0008478/0.5953, allocations: 0.6232 MB / 1.581 GB, free: 14.38 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.5966, allocations: 0.8556 MB / 1.582 GB, free: 13.52 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.601, allocations: 3.021 MB / 1.585 GB, free: 10.49 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.601, allocations: 4 kB / 1.585 GB, free: 10.48 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.432e-06/0.601, allocations: 0 / 1.585 GB, free: 10.48 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.6011, allocations: 0 / 1.585 GB, free: 10.48 MB / 1.279 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.002921/0.604, allocations: 1.866 MB / 1.586 GB, free: 8.578 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.604, allocations: 12.03 kB / 1.586 GB, free: 8.566 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.648e-05/0.6041, allocations: 30.14 kB / 1.587 GB, free: 8.535 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.6043, allocations: 168.8 kB / 1.587 GB, free: 8.359 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.6073, allocations: 494.5 kB / 1.587 GB, free: 7.875 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.6094, allocations: 1.06 MB / 1.588 GB, free: 6.77 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.6094, allocations: 86.14 kB / 1.588 GB, free: 6.684 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.6096, allocations: 112 kB / 1.588 GB, free: 6.574 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6116, allocations: 1.153 MB / 1.589 GB, free: 5.391 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.6116, allocations: 0 / 1.589 GB, free: 5.391 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6117, allocations: 51.92 kB / 1.59 GB, free: 5.34 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.6118, allocations: 46.12 kB / 1.59 GB, free: 5.293 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.6135, allocations: 1.07 MB / 1.591 GB, free: 4.215 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005988/0.6194, allocations: 4.371 MB / 1.595 GB, free: 15.51 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.6206, allocations: 0.7544 MB / 1.596 GB, free: 14.75 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/0.6213, allocations: 454.2 kB / 1.596 GB, free: 14.31 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.6216, allocations: 76.88 kB / 1.596 GB, free: 14.23 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.6216, allocations: 43.56 kB / 1.596 GB, free: 14.18 MB / 1.295 GB Notification: Performance of pre-optimization done (n=83): time 2.225e-06/0.6216, allocations: 0 / 1.596 GB, free: 14.18 MB / 1.295 GB Notification: Performance of matching and sorting (n=89): time 0.005172/0.6268, allocations: 2.629 MB / 1.599 GB, free: 11.52 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.6268, allocations: 68.34 kB / 1.599 GB, free: 11.44 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.628, allocations: 0.9832 MB / 1.6 GB, free: 10.44 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.6281, allocations: 41.7 kB / 1.6 GB, free: 10.39 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.6285, allocations: 0.5481 MB / 1.6 GB, free: 9.836 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.6288, allocations: 325.2 kB / 1.601 GB, free: 9.516 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.629, allocations: 158.6 kB / 1.601 GB, free: 9.355 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6292, allocations: 341.9 kB / 1.601 GB, free: 9.016 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.6297, allocations: 337.8 kB / 1.601 GB, free: 8.688 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.6304, allocations: 485.9 kB / 1.602 GB, free: 8.172 MB / 1.295 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.00574/0.6361, allocations: 2.818 MB / 1.605 GB, free: 5.328 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.6361, allocations: 4 kB / 1.605 GB, free: 5.324 MB / 1.295 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001537/0.6376, allocations: 1.024 MB / 1.606 GB, free: 4.293 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6377, allocations: 4 kB / 1.606 GB, free: 4.289 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6377, allocations: 4 kB / 1.606 GB, free: 4.285 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6377, allocations: 8 kB / 1.606 GB, free: 4.277 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.6384, allocations: 175.8 kB / 1.606 GB, free: 4.105 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.6384, allocations: 7.938 kB / 1.606 GB, free: 4.098 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.6392, allocations: 40.31 kB / 1.606 GB, free: 4.059 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.6393, allocations: 32 kB / 1.606 GB, free: 4.027 MB / 1.295 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.0005212/0.6398, allocations: 381.4 kB / 1.606 GB, free: 3.645 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.64, allocations: 135.1 kB / 1.606 GB, free: 3.512 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.6403, allocations: 148.3 kB / 1.607 GB, free: 3.359 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6403, allocations: 16.03 kB / 1.607 GB, free: 3.344 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.6403, allocations: 0 / 1.607 GB, free: 3.344 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/0.6418, allocations: 1.094 MB / 1.608 GB, free: 2.176 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5458/1.188, allocations: 3.013 MB / 1.611 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.188, allocations: 9.531 kB / 1.611 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/1.188, allocations: 164.5 kB / 1.611 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003275/1.189, allocations: 99.34 kB / 1.611 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/1.189, allocations: 31.16 kB / 1.611 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/1.19, allocations: 2.876 MB / 1.614 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.191, allocations: 22.42 kB / 1.614 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/1.193, allocations: 1.739 MB / 1.615 GB, free: 260.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.193, allocations: 233.8 kB / 1.616 GB, free: 260.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.193, allocations: 30.19 kB / 1.616 GB, free: 260.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/1.194, allocations: 45.47 kB / 1.616 GB, free: 260.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.194, allocations: 91.33 kB / 1.616 GB, free: 260.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/1.194, allocations: 51.03 kB / 1.616 GB, free: 260.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009003/1.195, allocations: 0.6962 MB / 1.617 GB, free: 260.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.195, allocations: 0 / 1.617 GB, free: 260.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001095/1.196, allocations: 380.7 kB / 1.617 GB, free: 260.3 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.002653/1.199, allocations: 2.397 MB / 1.619 GB, free: 258.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001369/1.201, allocations: 0.8112 MB / 1.62 GB, free: 258.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.201, allocations: 3.25 kB / 1.62 GB, free: 258.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007827/1.201, allocations: 0.6616 MB / 1.621 GB, free: 258.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/1.205, allocations: 0.9199 MB / 1.622 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.217, allocations: 9.721 MB / 1.631 GB, free: 253 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/1.218, allocations: 1.255 MB / 1.632 GB, free: 252.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001294/1.219, allocations: 345.8 kB / 1.633 GB, free: 252.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/1.22, allocations: 476.8 kB / 1.633 GB, free: 251.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.61e-07/1.22, allocations: 0 / 1.633 GB, free: 251.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07111/1.291, allocations: 39.3 MB / 1.671 GB, free: 227.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.95, allocations: 9.453 kB / 1.671 GB, free: 227.9 MB / 1.295 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: 20.141665280039888]