Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_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.01126/0.01126, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.00259/0.00259, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 75.83 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3478, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9552/1.303, allocations: 170.8 MB / 1.374 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00619/1.309, allocations: 3.379 MB / 1.377 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/1.31, allocations: 20.97 kB / 1.377 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/1.312, allocations: 317.8 kB / 1.378 GB, free: 12.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/1.316, allocations: 1.016 MB / 1.379 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/1.318, allocations: 0.6693 MB / 1.379 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00262/1.321, allocations: 1.527 MB / 1.381 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009593/1.322, allocations: 480.2 kB / 1.381 GB, free: 9.766 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/1.323, allocations: 0.5801 MB / 1.382 GB, free: 9.422 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/1.325, allocations: 464.2 kB / 1.382 GB, free: 9.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/1.325, allocations: 53.53 kB / 1.382 GB, free: 9.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/1.327, allocations: 0.8291 MB / 1.383 GB, free: 8.715 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/1.328, allocations: 244.9 kB / 1.383 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/1.328, allocations: 335.8 kB / 1.384 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/1.331, allocations: 1.137 MB / 1.385 GB, free: 7.613 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.331, allocations: 0 / 1.385 GB, free: 7.613 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.294e-06/1.331, allocations: 0 / 1.385 GB, free: 7.613 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.719e-05/1.331, allocations: 0 / 1.385 GB, free: 7.613 MB / 1.076 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.002535/1.333, allocations: 0.9093 MB / 1.386 GB, free: 6.871 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/1.334, allocations: 14 kB / 1.386 GB, free: 6.867 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/1.334, allocations: 87.73 kB / 1.386 GB, free: 6.789 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.335, allocations: 170.4 kB / 1.386 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.336, allocations: 0.5241 MB / 1.386 GB, free: 6.273 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/1.336, allocations: 38.52 kB / 1.387 GB, free: 6.254 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.336, allocations: 44.88 kB / 1.387 GB, free: 6.238 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/1.337, allocations: 473.1 kB / 1.387 GB, free: 5.969 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.337, allocations: 1.438 kB / 1.387 GB, free: 5.969 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/1.337, allocations: 23.91 kB / 1.387 GB, free: 5.949 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/1.338, allocations: 15.31 kB / 1.387 GB, free: 5.949 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/1.338, allocations: 411.9 kB / 1.387 GB, free: 5.754 MB / 1.076 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.003101/1.341, allocations: 1.731 MB / 1.389 GB, free: 4.312 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/1.342, allocations: 286.7 kB / 1.389 GB, free: 4.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/1.342, allocations: 181.7 kB / 1.39 GB, free: 4.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/1.342, allocations: 103.7 kB / 1.39 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.342, allocations: 46.59 kB / 1.39 GB, free: 3.914 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/1.342, allocations: 0 / 1.39 GB, free: 3.914 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002255/1.345, allocations: 1.058 MB / 1.391 GB, free: 3.219 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.345, allocations: 54.66 kB / 1.391 GB, free: 3.156 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/1.345, allocations: 460 kB / 1.391 GB, free: 2.875 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.345, allocations: 31.83 kB / 1.391 GB, free: 2.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/1.346, allocations: 251.2 kB / 1.392 GB, free: 2.617 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.346, allocations: 113.4 kB / 1.392 GB, free: 2.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.346, allocations: 73.25 kB / 1.392 GB, free: 2.469 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.346, allocations: 354.8 kB / 1.392 GB, free: 2.125 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/1.346, allocations: 127.6 kB / 1.392 GB, free: 2.062 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.346, allocations: 200.6 kB / 1.392 GB, free: 1.922 MB / 1.076 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.001875/1.348, allocations: 0.8631 MB / 1.393 GB, free: 1.398 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.348, allocations: 1.375 kB / 1.393 GB, free: 1.398 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006221/1.349, allocations: 415.7 kB / 1.394 GB, free: 1.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.349, allocations: 6.281 kB / 1.394 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.349, allocations: 6.5 kB / 1.394 GB, free: 1.176 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.349, allocations: 4.125 kB / 1.394 GB, free: 1.176 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/1.349, allocations: 74.97 kB / 1.394 GB, free: 1.156 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.349, allocations: 7.953 kB / 1.394 GB, free: 1.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/1.35, allocations: 16.59 kB / 1.394 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/1.35, allocations: 9.688 kB / 1.394 GB, free: 1.141 MB / 1.076 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.000256/1.35, allocations: 215.1 kB / 1.394 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.35, allocations: 52.88 kB / 1.394 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/1.35, allocations: 63.19 kB / 1.394 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.35, allocations: 3.625 kB / 1.394 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.35, allocations: 4 kB / 1.394 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004678/1.351, allocations: 405.2 kB / 1.394 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/1.353, allocations: 1.245 MB / 1.396 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/1.353, allocations: 4.75 kB / 1.396 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/1.353, allocations: 77.25 kB / 1.396 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.353, allocations: 5.094 kB / 1.396 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/1.353, allocations: 11.59 kB / 1.396 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/1.353, allocations: 11.66 kB / 1.396 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.353, allocations: 8.984 kB / 1.396 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/1.354, allocations: 0.7096 MB / 1.396 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/1.354, allocations: 170 kB / 1.397 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/1.355, allocations: 10.06 kB / 1.397 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/1.355, allocations: 19.67 kB / 1.397 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/1.355, allocations: 33.28 kB / 1.397 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/1.355, allocations: 26.39 kB / 1.397 GB, free: 14.88 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003633/1.356, allocations: 329 kB / 1.397 GB, free: 14.68 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.7e-07/1.356, allocations: 0 / 1.397 GB, free: 14.68 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006215/1.356, allocations: 140.6 kB / 1.397 GB, free: 14.67 MB / 1.092 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.001363/1.358, allocations: 1.305 MB / 1.398 GB, free: 13.59 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005573/1.358, allocations: 325.8 kB / 1.399 GB, free: 13.45 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.358, allocations: 0 / 1.399 GB, free: 13.45 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/1.358, allocations: 160 kB / 1.399 GB, free: 13.38 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.36, allocations: 367.5 kB / 1.399 GB, free: 13.19 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/1.366, allocations: 4.403 MB / 1.404 GB, free: 10.1 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/1.367, allocations: 0.8897 MB / 1.404 GB, free: 9.301 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005228/1.367, allocations: 125.7 kB / 1.404 GB, free: 9.246 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/1.367, allocations: 170.6 kB / 1.405 GB, free: 9.113 MB / 1.092 GB Notification: Performance of SimCode: time 6.32e-07/1.367, allocations: 4 kB / 1.405 GB, free: 9.109 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/1.405, allocations: 15.71 MB / 1.42 GB, free: 12.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/9.771, allocations: 2.656 kB / 1.42 GB, free: 12.77 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches