Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_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.001302/0.001302, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001427/0.001427, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.41 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2589, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6813/0.9403, allocations: 207.7 MB / 1.255 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.9523, allocations: 9.938 MB / 1.265 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.9542, allocations: 54.84 kB / 1.265 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.956, allocations: 0.658 MB / 1.265 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006075/0.962, allocations: 2.656 MB / 1.268 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.9652, allocations: 1.251 MB / 1.269 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006696/0.9719, allocations: 5.642 MB / 1.275 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.9738, allocations: 1.129 MB / 1.276 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.9766, allocations: 1.159 MB / 1.277 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.9801, allocations: 1.274 MB / 1.278 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/0.9804, allocations: 73.12 kB / 1.278 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00564/0.9861, allocations: 2.757 MB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007218/0.9868, allocations: 0.5397 MB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.9881, allocations: 0.7788 MB / 1.282 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.9924, allocations: 3.076 MB / 1.285 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.9924, allocations: 0 / 1.285 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.9925, allocations: 0 / 1.285 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.9925, allocations: 0 / 1.285 GB, free: 1.594 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.002913/0.9954, allocations: 1.903 MB / 1.287 GB, free: 16.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9954, allocations: 14.25 kB / 1.287 GB, free: 16.65 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.9956, allocations: 167.4 kB / 1.287 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.9989, allocations: 489.4 kB / 1.288 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/1.001, allocations: 1.059 MB / 1.289 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/1.001, allocations: 85.52 kB / 1.289 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/1.001, allocations: 114.9 kB / 1.289 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/1.003, allocations: 1.158 MB / 1.29 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.003, allocations: 0.9375 kB / 1.29 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.003, allocations: 46.78 kB / 1.29 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/1.003, allocations: 41.03 kB / 1.29 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/1.004, allocations: 1.073 MB / 1.291 GB, free: 16.05 MB / 1.014 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.005447/1.01, allocations: 4.214 MB / 1.295 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.011, allocations: 0.7916 MB / 1.296 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/1.012, allocations: 484.3 kB / 1.297 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/1.012, allocations: 303 kB / 1.297 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.012, allocations: 44.28 kB / 1.297 GB, free: 14.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/1.012, allocations: 0 / 1.297 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005641/1.018, allocations: 2.845 MB / 1.3 GB, free: 13.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/1.018, allocations: 60.75 kB / 1.3 GB, free: 13.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.019, allocations: 0.9715 MB / 1.301 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.019, allocations: 48.67 kB / 1.301 GB, free: 13.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/1.019, allocations: 0.5484 MB / 1.301 GB, free: 12.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/1.02, allocations: 311.5 kB / 1.302 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.02, allocations: 162.1 kB / 1.302 GB, free: 12.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.02, allocations: 336.2 kB / 1.302 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/1.02, allocations: 341.7 kB / 1.302 GB, free: 12.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/1.021, allocations: 489.1 kB / 1.303 GB, free: 12.17 MB / 1.014 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.005514/1.026, allocations: 3.036 MB / 1.306 GB, free: 11.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.026, allocations: 0 / 1.306 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001406/1.028, allocations: 1.012 MB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.028, allocations: 5.344 kB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.028, allocations: 2.656 kB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.028, allocations: 8 kB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/1.029, allocations: 185 kB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.029, allocations: 9.531 kB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.03, allocations: 77.41 kB / 1.307 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/1.03, allocations: 34.16 kB / 1.307 GB, free: 11.57 MB / 1.014 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.000554/1.031, allocations: 375.9 kB / 1.307 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.031, allocations: 125.6 kB / 1.308 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/1.031, allocations: 151.8 kB / 1.308 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.031, allocations: 8.469 kB / 1.308 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.031, allocations: 10.56 kB / 1.308 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00131/1.032, allocations: 1.088 MB / 1.309 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/1.036, allocations: 3.046 MB / 1.312 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/1.036, allocations: 10.75 kB / 1.312 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/1.037, allocations: 162.2 kB / 1.312 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/1.037, allocations: 104.3 kB / 1.312 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/1.037, allocations: 30.31 kB / 1.312 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/1.039, allocations: 2.876 MB / 1.315 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.039, allocations: 10.38 kB / 1.315 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/1.041, allocations: 1.74 MB / 1.317 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/1.042, allocations: 312.2 kB / 1.317 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.042, allocations: 29 kB / 1.317 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.043, allocations: 77.62 kB / 1.317 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.043, allocations: 94.89 kB / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/1.044, allocations: 43.8 kB / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007737/1.044, allocations: 0.6953 MB / 1.318 GB, free: 6.883 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.044, allocations: 0 / 1.318 GB, free: 6.883 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001112/1.045, allocations: 378.9 kB / 1.318 GB, free: 6.879 MB / 1.014 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.002705/1.048, allocations: 2.42 MB / 1.321 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.049, allocations: 0.828 MB / 1.321 GB, free: 5.723 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.049, allocations: 0 / 1.321 GB, free: 5.723 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008098/1.05, allocations: 0.6705 MB / 1.322 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/1.054, allocations: 0.8835 MB / 1.323 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.068, allocations: 10.69 MB / 1.333 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/1.069, allocations: 1.247 MB / 1.335 GB, free: 104 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001415/1.07, allocations: 346.2 kB / 1.335 GB, free: 20 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/1.071, allocations: 472 kB / 1.335 GB, free: 12 kB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.071, allocations: 0 / 1.335 GB, free: 12 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/1.156, allocations: 36.83 MB / 1.371 GB, free: 10.33 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/1.156, allocations: 296.9 kB / 1.372 GB, free: 9.938 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.757, allocations: 4 kB / 1.372 GB, free: 9.934 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches