Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.008868/0.008869, allocations: 100.7 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.002103/0.002103, allocations: 184.9 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3058, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.9384/1.244, allocations: 190.3 MB / 1.352 GB, free: 2.887 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01244/1.257, allocations: 5.684 MB / 1.358 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/1.259, allocations: 41.25 kB / 1.358 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/1.261, allocations: 0.5932 MB / 1.358 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005635/1.267, allocations: 1.669 MB / 1.36 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/1.271, allocations: 1.214 MB / 1.361 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005244/1.277, allocations: 2.517 MB / 1.363 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/1.279, allocations: 0.992 MB / 1.364 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/1.282, allocations: 1.065 MB / 1.365 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/1.285, allocations: 0.8147 MB / 1.366 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005032/1.285, allocations: 100.9 kB / 1.366 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/1.289, allocations: 1.536 MB / 1.368 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.291, allocations: 494.9 kB / 1.368 GB, free: 9.535 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/1.292, allocations: 0.6155 MB / 1.369 GB, free: 9.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005071/1.297, allocations: 2.116 MB / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.297, allocations: 0 / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.425e-06/1.297, allocations: 0 / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.524e-05/1.298, allocations: 0 / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003547/1.301, allocations: 1.476 MB / 1.372 GB, free: 6.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/1.301, allocations: 13.61 kB / 1.372 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003203/1.302, allocations: 136.8 kB / 1.373 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/1.304, allocations: 323.4 kB / 1.373 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/1.306, allocations: 0.8212 MB / 1.374 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.306, allocations: 64.38 kB / 1.374 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/1.306, allocations: 86.98 kB / 1.374 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/1.309, allocations: 1.07 MB / 1.375 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.309, allocations: 0 / 1.375 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.309, allocations: 38.72 kB / 1.375 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/1.309, allocations: 36.28 kB / 1.375 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.311, allocations: 0.8285 MB / 1.376 GB, free: 4.633 MB / 1.045 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.006425/1.317, allocations: 4.258 MB / 1.38 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/1.318, allocations: 377.6 kB / 1.38 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/1.318, allocations: 211.2 kB / 1.381 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/1.318, allocations: 102 kB / 1.381 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.318, allocations: 43.84 kB / 1.381 GB, free: 0.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 2.444e-06/1.318, allocations: 0 / 1.381 GB, free: 0.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=38): time 0.003178/1.322, allocations: 1.335 MB / 1.382 GB, free: 15.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/1.322, allocations: 60.44 kB / 1.382 GB, free: 15.65 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.323, allocations: 1.003 MB / 1.383 GB, free: 15.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-05/1.323, allocations: 40.77 kB / 1.383 GB, free: 15.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/1.324, allocations: 499.8 kB / 1.384 GB, free: 14.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.324, allocations: 137.5 kB / 1.384 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/1.324, allocations: 121.2 kB / 1.384 GB, free: 14.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.324, allocations: 336.8 kB / 1.384 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/1.325, allocations: 234.5 kB / 1.384 GB, free: 13.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/1.325, allocations: 420.1 kB / 1.385 GB, free: 13.64 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/1.328, allocations: 1.223 MB / 1.386 GB, free: 12.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.328, allocations: 0 / 1.386 GB, free: 12.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001541/1.33, allocations: 0.7681 MB / 1.387 GB, free: 12.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.33, allocations: 11.56 kB / 1.387 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.33, allocations: 4.906 kB / 1.387 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/1.33, allocations: 18.02 kB / 1.387 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/1.33, allocations: 144 kB / 1.387 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.33, allocations: 15.64 kB / 1.387 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.331, allocations: 58.42 kB / 1.387 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/1.331, allocations: 23.78 kB / 1.387 GB, free: 12.36 MB / 1.061 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0005724/1.332, allocations: 321.4 kB / 1.387 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/1.332, allocations: 101.6 kB / 1.387 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/1.332, allocations: 108.2 kB / 1.387 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.332, allocations: 2.75 kB / 1.387 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.333, allocations: 3.984 kB / 1.387 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007195/1.333, allocations: 0.6688 MB / 1.388 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/1.336, allocations: 1.576 MB / 1.39 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.336, allocations: 5.062 kB / 1.39 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/1.336, allocations: 84.95 kB / 1.39 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/1.336, allocations: 5.781 kB / 1.39 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.337, allocations: 15.5 kB / 1.39 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/1.337, allocations: 14.97 kB / 1.39 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.337, allocations: 3.031 kB / 1.39 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.338, allocations: 0.8305 MB / 1.391 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/1.338, allocations: 234.9 kB / 1.391 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/1.338, allocations: 13.22 kB / 1.391 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/1.339, allocations: 46.75 kB / 1.391 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/1.339, allocations: 38.59 kB / 1.391 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/1.339, allocations: 25.8 kB / 1.391 GB, free: 9.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001079/1.34, allocations: 0.714 MB / 1.392 GB, free: 8.973 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.34, allocations: 0 / 1.392 GB, free: 8.973 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001113/1.342, allocations: 257.1 kB / 1.392 GB, free: 8.949 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001958/1.343, allocations: 1.472 MB / 1.393 GB, free: 7.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.345, allocations: 0.5072 MB / 1.394 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.345, allocations: 0 / 1.394 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/1.345, allocations: 184.1 kB / 1.394 GB, free: 7.473 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/1.348, allocations: 0.6181 MB / 1.395 GB, free: 7.152 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.36, allocations: 7.601 MB / 1.402 GB, free: 1.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/1.361, allocations: 1.103 MB / 1.403 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001019/1.362, allocations: 240.3 kB / 1.403 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/1.362, allocations: 351.3 kB / 1.404 GB, free: 272 kB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.362, allocations: 0 / 1.404 GB, free: 272 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/1.419, allocations: 27.79 MB / 1.431 GB, free: 4.938 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/10.92, allocations: 9.516 kB / 1.431 GB, free: 4.93 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches