Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001855/0.001855, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.002193/0.002193, allocations: 218.9 kB / 23.03 MB, free: 4.953 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.987/2.987, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.00202/0.00202, allocations: 60.92 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2035/0.5852, allocations: 150.6 MB / 1.431 GB, free: 3.574 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005878/0.591, allocations: 3.204 MB / 1.434 GB, free: 376 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.5917, allocations: 31.75 kB / 1.434 GB, free: 344 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.5926, allocations: 302.1 kB / 1.435 GB, free: 40 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.5961, allocations: 1.058 MB / 1.436 GB, free: 14.97 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.5986, allocations: 0.6874 MB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002595/0.6012, allocations: 1.576 MB / 1.438 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006903/0.6019, allocations: 366 kB / 1.438 GB, free: 12.35 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.6031, allocations: 0.6108 MB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.6044, allocations: 0.4894 MB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.6045, allocations: 52 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.6061, allocations: 0.709 MB / 1.44 GB, free: 10.49 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.6065, allocations: 243.3 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.6069, allocations: 282.8 kB / 1.44 GB, free: 9.977 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.6088, allocations: 1.117 MB / 1.442 GB, free: 8.855 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6088, allocations: 12 kB / 1.442 GB, free: 8.844 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6088, allocations: 0 / 1.442 GB, free: 8.844 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.6088, allocations: 0 / 1.442 GB, free: 8.844 MB / 1.139 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.001615/0.6104, allocations: 0.847 MB / 1.442 GB, free: 7.961 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6105, allocations: 12.03 kB / 1.442 GB, free: 7.949 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.399e-05/0.6105, allocations: 17 kB / 1.442 GB, free: 7.934 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.6106, allocations: 86.52 kB / 1.443 GB, free: 7.84 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.6119, allocations: 171.5 kB / 1.443 GB, free: 7.672 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.6129, allocations: 478.5 kB / 1.443 GB, free: 7.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.6129, allocations: 33 kB / 1.443 GB, free: 7.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.613, allocations: 44 kB / 1.443 GB, free: 7.105 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6141, allocations: 0.7181 MB / 1.444 GB, free: 6.32 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.6141, allocations: 0 / 1.444 GB, free: 6.32 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.6142, allocations: 20 kB / 1.444 GB, free: 6.301 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.6142, allocations: 13 kB / 1.444 GB, free: 6.289 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.615, allocations: 419.7 kB / 1.444 GB, free: 5.879 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.6175, allocations: 1.226 MB / 1.446 GB, free: 4.605 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.6181, allocations: 296.5 kB / 1.446 GB, free: 4.309 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.6184, allocations: 176.6 kB / 1.446 GB, free: 4.133 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.6185, allocations: 19.98 kB / 1.446 GB, free: 4.113 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.6185, allocations: 38.56 kB / 1.446 GB, free: 4.066 MB / 1.139 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.6185, allocations: 0 / 1.446 GB, free: 4.066 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.002239/0.6208, allocations: 0.9849 MB / 1.447 GB, free: 3.047 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.6208, allocations: 63.39 kB / 1.447 GB, free: 2.973 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.6214, allocations: 461.8 kB / 1.448 GB, free: 2.516 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.6214, allocations: 33.7 kB / 1.448 GB, free: 2.477 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.6217, allocations: 252.5 kB / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6218, allocations: 122.9 kB / 1.448 GB, free: 2.105 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.6219, allocations: 69.66 kB / 1.448 GB, free: 2.031 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.6221, allocations: 358.8 kB / 1.448 GB, free: 1.672 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.6223, allocations: 123.9 kB / 1.448 GB, free: 1.551 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.6227, allocations: 249.1 kB / 1.449 GB, free: 1.273 MB / 1.139 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.002087/0.6248, allocations: 0.7864 MB / 1.449 GB, free: 480 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6248, allocations: 3.938 kB / 1.449 GB, free: 476 kB / 1.139 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007127/0.6255, allocations: 412.8 kB / 1.45 GB, free: 56 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6255, allocations: 4 kB / 1.45 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6255, allocations: 4.188 kB / 1.45 GB, free: 48 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.6255, allocations: 8 kB / 1.45 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.6259, allocations: 71.91 kB / 1.45 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.6259, allocations: 0 / 1.45 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.6263, allocations: 12 kB / 1.45 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.6263, allocations: 12 kB / 1.45 GB, free: 15.95 MB / 1.154 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.0003183/0.6267, allocations: 226.6 kB / 1.45 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6268, allocations: 47.72 kB / 1.45 GB, free: 15.67 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.6269, allocations: 56.77 kB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.6269, allocations: 4 kB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6269, allocations: 4 kB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005586/0.6275, allocations: 408.9 kB / 1.451 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.6295, allocations: 1.139 MB / 1.452 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6295, allocations: 4 kB / 1.452 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.6298, allocations: 75.84 kB / 1.452 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.6298, allocations: 12 kB / 1.452 GB, free: 13.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.6299, allocations: 8 kB / 1.452 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.6299, allocations: 11.98 kB / 1.452 GB, free: 13.83 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.6299, allocations: 7.938 kB / 1.452 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.6309, allocations: 0.704 MB / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.6311, allocations: 99.75 kB / 1.453 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.6312, allocations: 11.94 kB / 1.453 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.6316, allocations: 23.98 kB / 1.453 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.6316, allocations: 39.73 kB / 1.453 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.6317, allocations: 16 kB / 1.453 GB, free: 12.86 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004102/0.6321, allocations: 331.1 kB / 1.453 GB, free: 12.54 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6321, allocations: 0 / 1.453 GB, free: 12.54 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005714/0.6327, allocations: 140 kB / 1.453 GB, free: 12.4 MB / 1.154 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.001572/0.6342, allocations: 1.302 MB / 1.454 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.6349, allocations: 303.7 kB / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6349, allocations: 0 / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.6351, allocations: 160.8 kB / 1.455 GB, free: 10.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.6369, allocations: 367.5 kB / 1.455 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.6433, allocations: 4.422 MB / 1.46 GB, free: 5.578 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6436, allocations: 284.8 kB / 1.46 GB, free: 5.273 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005424/0.6442, allocations: 136.7 kB / 1.46 GB, free: 5.141 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6444, allocations: 171.4 kB / 1.46 GB, free: 4.973 MB / 1.154 GB Notification: Performance of SimCode: time 9.72e-07/0.6444, allocations: 4 kB / 1.46 GB, free: 4.969 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/0.6914, allocations: 17.04 MB / 1.477 GB, free: 4.418 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.46, allocations: 13.23 kB / 1.477 GB, free: 4.41 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.777509098988958]