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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001579/0.001579, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 195.4 kB / 16.53 MB, free: 6.617 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.75 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2395, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6539/0.8934, allocations: 209.9 MB / 1.258 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.9039, allocations: 9.857 MB / 1.267 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.9048, allocations: 64.06 kB / 1.268 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.9063, allocations: 0.7675 MB / 1.268 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.9109, allocations: 2.815 MB / 1.271 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.9134, allocations: 1.368 MB / 1.272 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.9169, allocations: 4.06 MB / 1.276 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.9183, allocations: 1.334 MB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.9199, allocations: 1.354 MB / 1.279 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.9218, allocations: 1.224 MB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.9221, allocations: 144 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.926, allocations: 2.382 MB / 1.283 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005403/0.9265, allocations: 0.6092 MB / 1.283 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.9274, allocations: 0.8545 MB / 1.284 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.9302, allocations: 2.976 MB / 1.287 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.9302, allocations: 3.938 kB / 1.287 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9302, allocations: 0.7812 kB / 1.287 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.9302, allocations: 1.344 kB / 1.287 GB, free: 1.973 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.002359/0.9326, allocations: 1.894 MB / 1.289 GB, free: 17.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.9326, allocations: 10.5 kB / 1.289 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.9328, allocations: 167.2 kB / 1.289 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.9356, allocations: 495.8 kB / 1.289 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.9369, allocations: 1.063 MB / 1.291 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.9369, allocations: 82.86 kB / 1.291 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.9371, allocations: 116.1 kB / 1.291 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.9386, allocations: 1.161 MB / 1.292 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.9387, allocations: 0 / 1.292 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/0.9388, allocations: 50.19 kB / 1.292 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.9388, allocations: 43.64 kB / 1.292 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.9402, allocations: 1.079 MB / 1.293 GB, free: 16.43 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.004594/0.9448, allocations: 4.229 MB / 1.297 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.9461, allocations: 0.7844 MB / 1.298 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.9466, allocations: 482.8 kB / 1.298 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.947, allocations: 301.1 kB / 1.299 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.947, allocations: 47.06 kB / 1.299 GB, free: 14.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.094e-06/0.947, allocations: 0.9688 kB / 1.299 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.00441/0.9515, allocations: 2.848 MB / 1.301 GB, free: 13.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.9515, allocations: 65.97 kB / 1.302 GB, free: 13.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.9525, allocations: 0.9731 MB / 1.302 GB, free: 13.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.9525, allocations: 45.45 kB / 1.302 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.9528, allocations: 0.5422 MB / 1.303 GB, free: 13.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.953, allocations: 311.5 kB / 1.303 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.9533, allocations: 160.1 kB / 1.303 GB, free: 13.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9534, allocations: 336.8 kB / 1.304 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.9538, allocations: 342.2 kB / 1.304 GB, free: 12.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.9543, allocations: 489.7 kB / 1.305 GB, free: 12.6 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.005008/0.9593, allocations: 3.038 MB / 1.308 GB, free: 12.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9593, allocations: 3.406 kB / 1.308 GB, free: 12.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001199/0.9605, allocations: 1.012 MB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.9605, allocations: 8 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9605, allocations: 3.844 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.9606, allocations: 4.562 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.9612, allocations: 188.7 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.9612, allocations: 14.72 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.9621, allocations: 23.03 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.9621, allocations: 35.33 kB / 1.309 GB, free: 12.05 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.0003803/0.9625, allocations: 380.4 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.9627, allocations: 126.6 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.9629, allocations: 149.8 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9629, allocations: 14.06 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.9629, allocations: 0.9062 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.9641, allocations: 1.092 MB / 1.311 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.9677, allocations: 3.045 MB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.9677, allocations: 9.062 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.9683, allocations: 166.8 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.9686, allocations: 102.6 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.9686, allocations: 28.86 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.9707, allocations: 3.097 MB / 1.317 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9707, allocations: 13.34 kB / 1.317 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.9726, allocations: 1.739 MB / 1.319 GB, free: 7.523 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.973, allocations: 307.9 kB / 1.319 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.9731, allocations: 32.75 kB / 1.319 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/0.974, allocations: 41.62 kB / 1.319 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.9741, allocations: 87.23 kB / 1.319 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.9742, allocations: 46.95 kB / 1.319 GB, free: 7.355 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006373/0.9748, allocations: 0.6973 MB / 1.32 GB, free: 7.246 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9748, allocations: 0 / 1.32 GB, free: 7.246 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008456/0.9757, allocations: 372.9 kB / 1.32 GB, free: 7.246 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.002365/0.978, allocations: 2.415 MB / 1.322 GB, free: 6.113 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.9793, allocations: 0.9616 MB / 1.323 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9793, allocations: 0 / 1.323 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.9801, allocations: 0.6737 MB / 1.324 GB, free: 5.852 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.9836, allocations: 0.9342 MB / 1.325 GB, free: 5.695 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00999/0.9936, allocations: 10.29 MB / 1.335 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.9943, allocations: 1.248 MB / 1.336 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001022/0.9954, allocations: 342.9 kB / 1.337 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.9958, allocations: 471.3 kB / 1.337 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.9958, allocations: 0 / 1.337 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.993/2.989, allocations: 38.2 MB / 1.374 GB, free: 10.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/18.5, allocations: 1.875 kB / 1.374 GB, free: 10.9 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