Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_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.0009407/0.0009407, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005623/0.005623, allocations: 170 kB / 16.26 MB, free: 6.613 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6022, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2119/0.8142, allocations: 204.9 MB / 1.155 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.8285, allocations: 9.844 MB / 1.165 GB, free: 7.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.8308, allocations: 51.69 kB / 1.165 GB, free: 7.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.8327, allocations: 0.6606 MB / 1.166 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007039/0.8398, allocations: 2.65 MB / 1.168 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.8435, allocations: 1.256 MB / 1.169 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00693/0.8504, allocations: 5.633 MB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.8521, allocations: 1.099 MB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.8543, allocations: 1.12 MB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.8568, allocations: 1.226 MB / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.8569, allocations: 56 kB / 1.178 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005105/0.862, allocations: 2.747 MB / 1.181 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.8627, allocations: 0.514 MB / 1.181 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009395/0.8636, allocations: 0.7713 MB / 1.182 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.868, allocations: 3.041 MB / 1.185 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.868, allocations: 4 kB / 1.185 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.375e-06/0.868, allocations: 0 / 1.185 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.8681, allocations: 0 / 1.185 GB, free: 2.965 MB / 0.9356 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.002744/0.8708, allocations: 1.585 MB / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.8709, allocations: 12.03 kB / 1.187 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.8711, allocations: 172.6 kB / 1.187 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.8742, allocations: 489.7 kB / 1.187 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.8758, allocations: 1.058 MB / 1.188 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.8759, allocations: 82.14 kB / 1.188 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.8761, allocations: 116 kB / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.878, allocations: 1.158 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.878, allocations: 7.984 kB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.8781, allocations: 44 kB / 1.19 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.8782, allocations: 38.14 kB / 1.19 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.8798, allocations: 1.078 MB / 1.191 GB, free: 12.99 MB / 0.9512 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.005457/0.8853, allocations: 4.213 MB / 1.195 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.8864, allocations: 0.7979 MB / 1.196 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.8871, allocations: 486.2 kB / 1.196 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.8875, allocations: 300.3 kB / 1.197 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.8875, allocations: 43.56 kB / 1.197 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.404e-06/0.8875, allocations: 0 / 1.197 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005261/0.8928, allocations: 2.844 MB / 1.199 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.8929, allocations: 60.41 kB / 1.199 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.894, allocations: 0.9754 MB / 1.2 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.8941, allocations: 49.7 kB / 1.2 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.8945, allocations: 0.5396 MB / 1.201 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.8947, allocations: 315.3 kB / 1.201 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8948, allocations: 73.69 kB / 1.201 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.895, allocations: 341.9 kB / 1.202 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.8955, allocations: 341.8 kB / 1.202 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.8961, allocations: 489.9 kB / 1.202 GB, free: 0.6289 MB / 0.9512 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.005783/0.9019, allocations: 3.048 MB / 1.205 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9019, allocations: 0 / 1.205 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001521/0.9034, allocations: 1.011 MB / 1.206 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9034, allocations: 8 kB / 1.206 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.9035, allocations: 0 / 1.206 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.9035, allocations: 8 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.9042, allocations: 179.7 kB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.9043, allocations: 12.31 kB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9054, allocations: 83.7 kB / 1.207 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.9055, allocations: 31.98 kB / 1.207 GB, free: 12.16 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0006237/0.9061, allocations: 379.5 kB / 1.207 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.9063, allocations: 130.5 kB / 1.207 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.9066, allocations: 152.3 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.9067, allocations: 8 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.9067, allocations: 0 / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.9081, allocations: 1.098 MB / 1.208 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/0.9128, allocations: 3.043 MB / 1.211 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.9128, allocations: 8 kB / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/0.9135, allocations: 168.7 kB / 1.212 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.9138, allocations: 105.6 kB / 1.212 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.9139, allocations: 32 kB / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.9161, allocations: 2.873 MB / 1.214 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/0.9161, allocations: 11.94 kB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.9185, allocations: 1.737 MB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/0.919, allocations: 315.5 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.9191, allocations: 31.98 kB / 1.217 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9202, allocations: 76.67 kB / 1.217 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9203, allocations: 88.11 kB / 1.217 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.9204, allocations: 43.98 kB / 1.217 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008843/0.9213, allocations: 0.7034 MB / 1.217 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9213, allocations: 0 / 1.217 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001115/0.9224, allocations: 368 kB / 1.218 GB, free: 136 kB / 0.9669 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.002887/0.9253, allocations: 2.426 MB / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.9266, allocations: 0.8239 MB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9267, allocations: 4 kB / 1.221 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.9275, allocations: 0.6654 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/0.933, allocations: 0.8977 MB / 1.222 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.9512, allocations: 10.82 MB / 1.233 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.9523, allocations: 1.249 MB / 1.234 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001516/0.9539, allocations: 347 kB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006957/0.9546, allocations: 471.3 kB / 1.235 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of SimCode: time 2.285e-06/0.9546, allocations: 3.938 kB / 1.235 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5335/1.488, allocations: 36.55 MB / 1.271 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.488, allocations: 285.5 kB / 1.271 GB, free: 271.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/4.1, allocations: 0 / 1.271 GB, free: 271.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches