Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 192.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5595, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1883/0.7479, allocations: 207.3 MB / 1.219 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.7606, allocations: 9.803 MB / 1.229 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.7621, allocations: 55.62 kB / 1.229 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.7638, allocations: 0.6801 MB / 1.23 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.7695, allocations: 2.646 MB / 1.232 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.7723, allocations: 1.27 MB / 1.233 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004109/0.7764, allocations: 4.055 MB / 1.237 GB, free: 160 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.7781, allocations: 1.309 MB / 1.239 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.7802, allocations: 1.366 MB / 1.24 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.7827, allocations: 1.313 MB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.7831, allocations: 144 kB / 1.241 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.7872, allocations: 2.501 MB / 1.244 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.7879, allocations: 0.6234 MB / 1.244 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.789, allocations: 0.8556 MB / 1.245 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.7929, allocations: 3.147 MB / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7929, allocations: 0 / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7929, allocations: 4 kB / 1.248 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.194e-05/0.793, allocations: 0 / 1.248 GB, free: 4.844 MB / 0.9981 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.003088/0.7961, allocations: 1.883 MB / 1.25 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7961, allocations: 15.97 kB / 1.25 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.7964, allocations: 176.8 kB / 1.25 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.7996, allocations: 481.7 kB / 1.251 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.8013, allocations: 1.061 MB / 1.252 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.8013, allocations: 86.14 kB / 1.252 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.8015, allocations: 111.9 kB / 1.252 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4216/1.223, allocations: 1.151 MB / 1.253 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/1.223, allocations: 1.453 kB / 1.253 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/1.223, allocations: 50.42 kB / 1.253 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.316e-05/1.223, allocations: 40.83 kB / 1.253 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/1.226, allocations: 1.074 MB / 1.254 GB, free: 234.7 MB / 0.9981 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.006526/1.232, allocations: 4.215 MB / 1.258 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.233, allocations: 0.7842 MB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/1.234, allocations: 481.9 kB / 1.26 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/1.235, allocations: 292.5 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.235, allocations: 45.78 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.644e-06/1.235, allocations: 0.6875 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005572/1.24, allocations: 2.85 MB / 1.263 GB, free: 230 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/1.24, allocations: 61.69 kB / 1.263 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/1.242, allocations: 0.9725 MB / 1.264 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/1.242, allocations: 43.86 kB / 1.264 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/1.242, allocations: 0.5409 MB / 1.264 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/1.242, allocations: 316 kB / 1.265 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/1.242, allocations: 161.2 kB / 1.265 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/1.243, allocations: 337.4 kB / 1.265 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/1.243, allocations: 339.1 kB / 1.265 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/1.244, allocations: 487 kB / 1.266 GB, free: 228.1 MB / 0.9981 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.006129/1.25, allocations: 3.054 MB / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.25, allocations: 4.594 kB / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001455/1.252, allocations: 1.013 MB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.252, allocations: 7.328 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.252, allocations: 6.375 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.252, allocations: 6.594 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/1.252, allocations: 181.8 kB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.252, allocations: 7.547 kB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.254, allocations: 83.12 kB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/1.254, allocations: 33.56 kB / 1.27 GB, free: 226.3 MB / 0.9981 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.0005414/1.254, allocations: 380.2 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.254, allocations: 126.8 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/1.255, allocations: 147.9 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.255, allocations: 10.22 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/1.255, allocations: 1.344 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/1.256, allocations: 1.097 MB / 1.272 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/1.26, allocations: 3.044 MB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.26, allocations: 9.172 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/1.261, allocations: 166.5 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/1.261, allocations: 99.16 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/1.262, allocations: 28.78 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.263, allocations: 3.092 MB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.263, allocations: 14.19 kB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.265, allocations: 1.735 MB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/1.266, allocations: 311.5 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/1.266, allocations: 32.83 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.267, allocations: 73.62 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.267, allocations: 89.33 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/1.267, allocations: 48.58 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007653/1.268, allocations: 0.6964 MB / 1.281 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.268, allocations: 3.938 kB / 1.281 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001031/1.269, allocations: 373.3 kB / 1.281 GB, free: 219.1 MB / 0.9981 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.00234/1.271, allocations: 2.429 MB / 1.284 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001308/1.273, allocations: 0.9573 MB / 1.285 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.273, allocations: 3.969 kB / 1.285 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000709/1.274, allocations: 0.6653 MB / 1.285 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/1.277, allocations: 0.9199 MB / 1.286 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.288, allocations: 10.7 MB / 1.297 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/1.288, allocations: 1.245 MB / 1.298 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00113/1.29, allocations: 343 kB / 1.298 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/1.29, allocations: 475.3 kB / 1.299 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.29, allocations: 4 kB / 1.299 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08344/1.373, allocations: 37.96 MB / 1.336 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.374, allocations: 275.5 kB / 1.336 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/4.036, allocations: 2.531 kB / 1.336 GB, free: 166.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches