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.001333/0.001333, allocations: 110.4 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.001477/0.001477, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.949 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.887/2.887, allocations: 0.49 GB / 0.7951 GB, free: 33.26 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.001831/0.001831, allocations: 67.36 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2289/0.5067, allocations: 214.2 MB / 1.535 GB, free: 10.92 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.5218, allocations: 9.968 MB / 1.545 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.5233, allocations: 79.31 kB / 1.545 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.5252, allocations: 0.8116 MB / 1.546 GB, free: 36 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00645/0.5316, allocations: 2.976 MB / 1.549 GB, free: 13.05 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.535, allocations: 1.458 MB / 1.55 GB, free: 11.6 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005285/0.5403, allocations: 4.179 MB / 1.554 GB, free: 7.402 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.542, allocations: 1.005 MB / 1.555 GB, free: 6.363 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.5455, allocations: 1.869 MB / 1.557 GB, free: 4.488 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.5484, allocations: 1.303 MB / 1.558 GB, free: 3.188 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004807/0.5489, allocations: 144 kB / 1.558 GB, free: 3.047 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.554, allocations: 2.545 MB / 1.561 GB, free: 0.4961 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0009073/0.5549, allocations: 0.631 MB / 1.561 GB, free: 15.86 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.5563, allocations: 0.8517 MB / 1.562 GB, free: 15.01 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.5609, allocations: 3.017 MB / 1.565 GB, free: 11.98 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5609, allocations: 4 kB / 1.565 GB, free: 11.98 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5609, allocations: 3.938 kB / 1.565 GB, free: 11.97 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.199e-05/0.561, allocations: 0 / 1.565 GB, free: 11.97 MB / 1.264 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.003354/0.5643, allocations: 1.862 MB / 1.567 GB, free: 10.07 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5644, allocations: 16.03 kB / 1.567 GB, free: 10.05 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/0.5646, allocations: 176.7 kB / 1.567 GB, free: 9.871 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.5676, allocations: 494.5 kB / 1.568 GB, free: 9.387 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.5696, allocations: 1.053 MB / 1.569 GB, free: 8.297 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.5697, allocations: 82.12 kB / 1.569 GB, free: 8.215 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.5699, allocations: 120 kB / 1.569 GB, free: 8.098 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.5718, allocations: 1.157 MB / 1.57 GB, free: 6.91 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.5718, allocations: 4 kB / 1.57 GB, free: 6.906 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.5719, allocations: 44 kB / 1.57 GB, free: 6.863 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.572, allocations: 42.12 kB / 1.57 GB, free: 6.82 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.5737, allocations: 1.074 MB / 1.571 GB, free: 5.738 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/0.5797, allocations: 4.371 MB / 1.575 GB, free: 1.031 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5809, allocations: 0.7545 MB / 1.576 GB, free: 280 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/0.5816, allocations: 458.2 kB / 1.577 GB, free: 15.82 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.5819, allocations: 64.95 kB / 1.577 GB, free: 15.76 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.5819, allocations: 47.56 kB / 1.577 GB, free: 15.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 1.873e-06/0.5819, allocations: 0 / 1.577 GB, free: 15.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005127/0.5871, allocations: 2.636 MB / 1.579 GB, free: 13.04 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.5871, allocations: 60.41 kB / 1.579 GB, free: 12.96 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.5883, allocations: 0.9832 MB / 1.58 GB, free: 11.96 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.5884, allocations: 45.7 kB / 1.58 GB, free: 11.91 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.5888, allocations: 0.5443 MB / 1.581 GB, free: 11.36 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.5892, allocations: 329.2 kB / 1.581 GB, free: 11.04 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.5894, allocations: 154.6 kB / 1.581 GB, free: 10.88 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5895, allocations: 341.9 kB / 1.582 GB, free: 10.54 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.5901, allocations: 341.8 kB / 1.582 GB, free: 10.21 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.5908, allocations: 485.9 kB / 1.582 GB, free: 9.695 MB / 1.279 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.00583/0.5966, allocations: 2.812 MB / 1.585 GB, free: 6.855 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5966, allocations: 0 / 1.585 GB, free: 6.855 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001571/0.5982, allocations: 1.024 MB / 1.586 GB, free: 5.82 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5982, allocations: 9.875 kB / 1.586 GB, free: 5.812 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5982, allocations: 0 / 1.586 GB, free: 5.812 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5982, allocations: 8 kB / 1.586 GB, free: 5.805 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.5989, allocations: 179.7 kB / 1.586 GB, free: 5.629 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.5989, allocations: 11.94 kB / 1.586 GB, free: 5.617 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.5998, allocations: 32.36 kB / 1.586 GB, free: 5.586 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.5998, allocations: 28 kB / 1.586 GB, free: 5.559 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.0005722/0.6004, allocations: 389.4 kB / 1.587 GB, free: 5.168 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.6006, allocations: 135.1 kB / 1.587 GB, free: 5.035 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.6009, allocations: 148.3 kB / 1.587 GB, free: 4.887 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.6009, allocations: 12 kB / 1.587 GB, free: 4.875 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6009, allocations: 0 / 1.587 GB, free: 4.875 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/0.6024, allocations: 1.094 MB / 1.588 GB, free: 3.711 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.6075, allocations: 3.019 MB / 1.591 GB, free: 0.5195 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.6075, allocations: 8 kB / 1.591 GB, free: 0.5117 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.6082, allocations: 163.7 kB / 1.591 GB, free: 360 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.6085, allocations: 110 kB / 1.591 GB, free: 244 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.6086, allocations: 28 kB / 1.591 GB, free: 216 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.6113, allocations: 2.875 MB / 1.594 GB, free: 13.11 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.6114, allocations: 11.94 kB / 1.594 GB, free: 13.09 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.614, allocations: 1.738 MB / 1.596 GB, free: 11.22 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.6146, allocations: 239.1 kB / 1.596 GB, free: 10.99 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.6149, allocations: 35.94 kB / 1.596 GB, free: 10.95 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00089/0.6157, allocations: 45.97 kB / 1.596 GB, free: 10.91 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.6159, allocations: 88.08 kB / 1.596 GB, free: 10.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-05/0.616, allocations: 43.98 kB / 1.596 GB, free: 10.78 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001007/0.617, allocations: 0.6917 MB / 1.597 GB, free: 10.08 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.617, allocations: 4 kB / 1.597 GB, free: 10.08 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001138/0.6181, allocations: 379.9 kB / 1.597 GB, free: 9.707 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.002988/0.6211, allocations: 2.406 MB / 1.6 GB, free: 7.152 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.6224, allocations: 0.8082 MB / 1.601 GB, free: 6.34 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6224, allocations: 4 kB / 1.601 GB, free: 6.336 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008998/0.6233, allocations: 0.6543 MB / 1.601 GB, free: 5.66 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/0.6269, allocations: 0.9299 MB / 1.602 GB, free: 4.746 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5389/1.166, allocations: 9.717 MB / 1.612 GB, free: 277.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/1.167, allocations: 1.251 MB / 1.613 GB, free: 276.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00113/1.168, allocations: 340.8 kB / 1.613 GB, free: 276.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/1.168, allocations: 474.1 kB / 1.614 GB, free: 276.1 MB / 1.295 GB Notification: Performance of SimCode: time 9.52e-07/1.168, allocations: 0.8125 kB / 1.614 GB, free: 276.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/1.244, allocations: 39.28 MB / 1.652 GB, free: 258.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.93, allocations: 7.438 kB / 1.652 GB, free: 258.9 MB / 1.295 GB " [Timeout remaining time 286] (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.881407389882952]