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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00108/0.00108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001081/0.001081, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7224, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2304/0.9529, allocations: 207.3 MB / 1.152 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.9685, allocations: 9.793 MB / 1.161 GB, free: 8.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.971, allocations: 55.62 kB / 1.161 GB, free: 8.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.9735, allocations: 0.6762 MB / 1.162 GB, free: 7.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00786/0.9814, allocations: 2.642 MB / 1.164 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003875/0.9853, allocations: 1.276 MB / 1.166 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005544/0.9909, allocations: 4.056 MB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.993, allocations: 1.301 MB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.9958, allocations: 1.378 MB / 1.172 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.9991, allocations: 1.313 MB / 1.174 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004677/0.9996, allocations: 144 kB / 1.174 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/1.004, allocations: 2.501 MB / 1.176 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000763/1.005, allocations: 0.6078 MB / 1.177 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/1.006, allocations: 0.8595 MB / 1.178 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004444/1.011, allocations: 3.143 MB / 1.181 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.011, allocations: 0 / 1.181 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/1.011, allocations: 3.938 kB / 1.181 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.763e-05/1.011, allocations: 0 / 1.181 GB, free: 4.234 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.003736/1.015, allocations: 1.896 MB / 1.183 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.015, allocations: 8.031 kB / 1.183 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003175/1.015, allocations: 180.8 kB / 1.183 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/1.018, allocations: 477.7 kB / 1.183 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/1.02, allocations: 1.069 MB / 1.184 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/1.02, allocations: 82.14 kB / 1.184 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.02, allocations: 111.9 kB / 1.184 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.022, allocations: 1.157 MB / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/1.022, allocations: 0 / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/1.023, allocations: 48 kB / 1.186 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/1.023, allocations: 46.11 kB / 1.186 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/1.024, allocations: 1.078 MB / 1.187 GB, free: 13.94 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.005627/1.03, allocations: 4.206 MB / 1.191 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/1.031, allocations: 0.7861 MB / 1.192 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/1.032, allocations: 486.5 kB / 1.192 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/1.032, allocations: 296.2 kB / 1.192 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.032, allocations: 51.47 kB / 1.192 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/1.032, allocations: 0 / 1.192 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005304/1.037, allocations: 2.844 MB / 1.195 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.038, allocations: 60.41 kB / 1.195 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.039, allocations: 0.9716 MB / 1.196 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/1.039, allocations: 49.7 kB / 1.196 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/1.039, allocations: 0.5434 MB / 1.197 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.039, allocations: 311.4 kB / 1.197 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.04, allocations: 158.6 kB / 1.197 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.04, allocations: 334 kB / 1.197 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/1.04, allocations: 341.8 kB / 1.198 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/1.041, allocations: 493.9 kB / 1.198 GB, free: 1.527 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.005829/1.047, allocations: 3.053 MB / 1.201 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.047, allocations: 0 / 1.201 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001447/1.048, allocations: 1.007 MB / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.048, allocations: 5.875 kB / 1.202 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.048, allocations: 4 kB / 1.202 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.048, allocations: 8 kB / 1.202 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/1.049, allocations: 183.7 kB / 1.202 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.049, allocations: 12.36 kB / 1.202 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.05, allocations: 79.7 kB / 1.202 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/1.05, allocations: 32 kB / 1.203 GB, free: 13.06 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 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.0004884/1.051, allocations: 375.5 kB / 1.203 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.051, allocations: 130.4 kB / 1.203 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/1.051, allocations: 148.3 kB / 1.203 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.051, allocations: 12 kB / 1.203 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.051, allocations: 4 kB / 1.203 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/1.052, allocations: 1.101 MB / 1.204 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/1.057, allocations: 3.039 MB / 1.207 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.057, allocations: 8 kB / 1.207 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/1.058, allocations: 164.6 kB / 1.207 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/1.058, allocations: 97.66 kB / 1.207 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/1.058, allocations: 31.98 kB / 1.207 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/1.06, allocations: 3.09 MB / 1.211 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.06, allocations: 15.94 kB / 1.211 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/1.063, allocations: 1.733 MB / 1.212 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/1.063, allocations: 307.5 kB / 1.213 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/1.063, allocations: 31.92 kB / 1.213 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/1.064, allocations: 83.59 kB / 1.213 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.064, allocations: 88.09 kB / 1.213 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/1.064, allocations: 47.98 kB / 1.213 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008183/1.065, allocations: 0.6995 MB / 1.213 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.065, allocations: 0 / 1.213 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009875/1.066, allocations: 372 kB / 1.214 GB, free: 0.8008 MB / 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.002794/1.069, allocations: 2.422 MB / 1.216 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001484/1.071, allocations: 0.9574 MB / 1.217 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.071, allocations: 4 kB / 1.217 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008576/1.071, allocations: 0.6695 MB / 1.218 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.075, allocations: 0.9287 MB / 1.219 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.089, allocations: 10.71 MB / 1.229 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/1.09, allocations: 1.249 MB / 1.23 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001199/1.091, allocations: 339 kB / 1.231 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/1.091, allocations: 479.3 kB / 1.231 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.091, allocations: 0 / 1.231 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9213/2.013, allocations: 37.94 MB / 1.268 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/2.013, allocations: 273.8 kB / 1.268 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/4.749, allocations: 0 / 1.268 GB, free: 273.8 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