Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.004929/0.004929, allocations: 99.92 kB / 15.73 MB, free: 6.02 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.002124/0.002124, allocations: 189.7 kB / 16.67 MB, free: 5.938 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.441/2.441, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 79.81 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6303, allocations: 159.1 MB / 1.22 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.165/0.7953, allocations: 170.8 MB / 1.387 GB, free: 6.766 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.8003, allocations: 3.382 MB / 1.39 GB, free: 3.379 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.8007, allocations: 23.88 kB / 1.39 GB, free: 3.355 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.8015, allocations: 314.1 kB / 1.391 GB, free: 3.047 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.8035, allocations: 1.015 MB / 1.392 GB, free: 2.027 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.8049, allocations: 0.6678 MB / 1.392 GB, free: 1.363 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.8065, allocations: 1.536 MB / 1.394 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.807, allocations: 484.5 kB / 1.394 GB, free: 15.35 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.8077, allocations: 0.5642 MB / 1.395 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009257/0.8087, allocations: 468.1 kB / 1.395 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.8088, allocations: 52 kB / 1.395 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.8101, allocations: 0.834 MB / 1.396 GB, free: 13.44 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.8103, allocations: 235.4 kB / 1.396 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.8107, allocations: 334.6 kB / 1.397 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.812, allocations: 1.137 MB / 1.398 GB, free: 11.74 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8121, allocations: 4 kB / 1.398 GB, free: 11.74 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8121, allocations: 0 / 1.398 GB, free: 11.74 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8121, allocations: 4 kB / 1.398 GB, free: 11.73 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001249/0.8133, allocations: 0.9262 MB / 1.399 GB, free: 10.76 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.8134, allocations: 12.02 kB / 1.399 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.514e-05/0.8135, allocations: 82.53 kB / 1.399 GB, free: 10.66 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.8145, allocations: 175.5 kB / 1.399 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.8153, allocations: 0.5251 MB / 1.399 GB, free: 9.922 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.8153, allocations: 33 kB / 1.399 GB, free: 9.891 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.8154, allocations: 51.89 kB / 1.399 GB, free: 9.84 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.8161, allocations: 470.4 kB / 1.4 GB, free: 9.375 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.8161, allocations: 0 / 1.4 GB, free: 9.375 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.8162, allocations: 24 kB / 1.4 GB, free: 9.352 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.8162, allocations: 16.94 kB / 1.4 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.8168, allocations: 411.7 kB / 1.4 GB, free: 8.93 MB / 1.123 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.002284/0.8191, allocations: 1.729 MB / 1.402 GB, free: 7.066 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.8196, allocations: 299.1 kB / 1.402 GB, free: 6.766 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.8198, allocations: 180.8 kB / 1.402 GB, free: 6.586 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.82, allocations: 101 kB / 1.403 GB, free: 6.469 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.82, allocations: 42.56 kB / 1.403 GB, free: 6.418 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.8201, allocations: 0 / 1.403 GB, free: 6.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.001793/0.8218, allocations: 1.071 MB / 1.404 GB, free: 5.293 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.8219, allocations: 59.39 kB / 1.404 GB, free: 5.223 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.8224, allocations: 453.9 kB / 1.404 GB, free: 4.773 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.8224, allocations: 33.7 kB / 1.404 GB, free: 4.734 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.8226, allocations: 256.5 kB / 1.404 GB, free: 4.48 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.8227, allocations: 126.9 kB / 1.405 GB, free: 4.355 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.8228, allocations: 69.66 kB / 1.405 GB, free: 4.281 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.823, allocations: 358.8 kB / 1.405 GB, free: 3.922 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.8233, allocations: 131.7 kB / 1.405 GB, free: 3.793 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.8235, allocations: 201.8 kB / 1.405 GB, free: 3.574 MB / 1.123 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.8253, allocations: 0.8564 MB / 1.406 GB, free: 2.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.8253, allocations: 7.938 kB / 1.406 GB, free: 2.672 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005868/0.8259, allocations: 420.7 kB / 1.407 GB, free: 2.254 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.826, allocations: 6.031 kB / 1.407 GB, free: 2.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.826, allocations: 4 kB / 1.407 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.826, allocations: 0 / 1.407 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.8263, allocations: 71.91 kB / 1.407 GB, free: 2.176 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8263, allocations: 11.94 kB / 1.407 GB, free: 2.164 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.8266, allocations: 12.19 kB / 1.407 GB, free: 2.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.8266, allocations: 16 kB / 1.407 GB, free: 2.137 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002296/0.8269, allocations: 216.7 kB / 1.407 GB, free: 1.918 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.827, allocations: 55.67 kB / 1.407 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.8271, allocations: 60.77 kB / 1.407 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8271, allocations: 0 / 1.407 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8271, allocations: 4 kB / 1.407 GB, free: 1.793 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004801/0.8276, allocations: 404.3 kB / 1.407 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.8293, allocations: 1.245 MB / 1.409 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8293, allocations: 4 kB / 1.409 GB, free: 12 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.8296, allocations: 71.91 kB / 1.409 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.8296, allocations: 8.5 kB / 1.409 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.8297, allocations: 19.98 kB / 1.409 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.8297, allocations: 7.938 kB / 1.409 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8297, allocations: 4 kB / 1.409 GB, free: 15.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.8305, allocations: 0.7081 MB / 1.409 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.8307, allocations: 172.8 kB / 1.41 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/0.8308, allocations: 12 kB / 1.41 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.8312, allocations: 15.98 kB / 1.41 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.8312, allocations: 31.92 kB / 1.41 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.8313, allocations: 23.98 kB / 1.41 GB, free: 14.86 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003383/0.8316, allocations: 331.1 kB / 1.41 GB, free: 14.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8316, allocations: 0 / 1.41 GB, free: 14.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004842/0.8321, allocations: 140 kB / 1.41 GB, free: 14.41 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001328/0.8334, allocations: 1.317 MB / 1.411 GB, free: 13.02 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.8339, allocations: 323.6 kB / 1.412 GB, free: 12.71 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.834, allocations: 4 kB / 1.412 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.8342, allocations: 156.9 kB / 1.412 GB, free: 12.55 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.8357, allocations: 377.7 kB / 1.412 GB, free: 12.19 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.8408, allocations: 4.417 MB / 1.416 GB, free: 7.555 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.8412, allocations: 0.8861 MB / 1.417 GB, free: 6.641 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000392/0.8416, allocations: 132.6 kB / 1.417 GB, free: 6.512 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.8419, allocations: 167.4 kB / 1.418 GB, free: 6.348 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/0.8419, allocations: 0 / 1.418 GB, free: 6.348 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.028/3.869, allocations: 15.47 MB / 1.433 GB, free: 7.191 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/20.7, allocations: 16.59 kB / 1.433 GB, free: 7.176 MB / 1.154 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches