Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_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.005376/0.005376, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001423/0.001423, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.586/2.586, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 76.08 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2878, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6972/0.9851, allocations: 190.4 MB / 1.428 GB, free: 5.469 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008515/0.9936, allocations: 5.699 MB / 1.433 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.9947, allocations: 46.66 kB / 1.433 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.996, allocations: 0.5625 MB / 1.434 GB, free: 348 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.9995, allocations: 1.608 MB / 1.436 GB, free: 15.08 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/1.002, allocations: 1.212 MB / 1.437 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002736/1.005, allocations: 2.503 MB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/1.006, allocations: 0.9976 MB / 1.44 GB, free: 12.12 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/1.008, allocations: 1.191 MB / 1.441 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/1.01, allocations: 0.8036 MB / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/1.01, allocations: 100 kB / 1.442 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/1.013, allocations: 1.52 MB / 1.444 GB, free: 8.516 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/1.013, allocations: 494.7 kB / 1.444 GB, free: 8.031 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006559/1.014, allocations: 0.6183 MB / 1.445 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002716/1.016, allocations: 2.11 MB / 1.447 GB, free: 5.293 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.016, allocations: 0 / 1.447 GB, free: 5.293 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.323e-06/1.016, allocations: 4 kB / 1.447 GB, free: 5.289 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.016, allocations: 0 / 1.447 GB, free: 5.289 MB / 1.139 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.002126/1.019, allocations: 1.513 MB / 1.448 GB, free: 3.719 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.019, allocations: 8.031 kB / 1.448 GB, free: 3.711 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/1.019, allocations: 143.2 kB / 1.448 GB, free: 3.562 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.021, allocations: 338.9 kB / 1.449 GB, free: 3.23 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/1.022, allocations: 0.8162 MB / 1.45 GB, free: 2.375 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/1.022, allocations: 66 kB / 1.45 GB, free: 2.309 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.022, allocations: 87.95 kB / 1.45 GB, free: 2.223 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.024, allocations: 1.067 MB / 1.451 GB, free: 1.117 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.024, allocations: 4 kB / 1.451 GB, free: 1.113 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/1.024, allocations: 39.98 kB / 1.451 GB, free: 1.074 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/1.024, allocations: 41.92 kB / 1.451 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.025, allocations: 0.8274 MB / 1.452 GB, free: 208 kB / 1.139 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.005185/1.03, allocations: 4.42 MB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/1.031, allocations: 370.7 kB / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/1.031, allocations: 215.2 kB / 1.456 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/1.032, allocations: 101.1 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.032, allocations: 42.55 kB / 1.457 GB, free: 10.73 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/1.032, allocations: 4 kB / 1.457 GB, free: 10.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=38): time 0.002284/1.034, allocations: 1.34 MB / 1.458 GB, free: 9.332 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.034, allocations: 63.09 kB / 1.458 GB, free: 9.258 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.035, allocations: 1.001 MB / 1.459 GB, free: 8.234 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/1.035, allocations: 37.7 kB / 1.459 GB, free: 8.191 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/1.036, allocations: 0.4963 MB / 1.459 GB, free: 7.691 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.036, allocations: 150.7 kB / 1.46 GB, free: 7.543 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/1.036, allocations: 126.2 kB / 1.46 GB, free: 7.41 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.036, allocations: 330 kB / 1.46 GB, free: 7.082 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/1.037, allocations: 237.2 kB / 1.46 GB, free: 6.852 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/1.037, allocations: 423.8 kB / 1.461 GB, free: 6.359 MB / 1.154 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.0024/1.04, allocations: 1.221 MB / 1.462 GB, free: 5.039 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.04, allocations: 0 / 1.462 GB, free: 5.039 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001315/1.041, allocations: 0.7773 MB / 1.463 GB, free: 4.254 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.041, allocations: 4 kB / 1.463 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.041, allocations: 8 kB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.041, allocations: 11.94 kB / 1.463 GB, free: 4.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/1.042, allocations: 141 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.042, allocations: 22.36 kB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/1.042, allocations: 51.95 kB / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/1.042, allocations: 24 kB / 1.463 GB, free: 4 MB / 1.154 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.000408/1.043, allocations: 322.9 kB / 1.463 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/1.043, allocations: 103.3 kB / 1.463 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/1.043, allocations: 109 kB / 1.463 GB, free: 3.469 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.043, allocations: 5 kB / 1.463 GB, free: 3.465 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.043, allocations: 0 / 1.463 GB, free: 3.465 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006831/1.044, allocations: 0.6753 MB / 1.464 GB, free: 2.703 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.046, allocations: 1.583 MB / 1.466 GB, free: 1.016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.046, allocations: 4 kB / 1.466 GB, free: 1.012 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/1.046, allocations: 87.89 kB / 1.466 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.046, allocations: 4 kB / 1.466 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.046, allocations: 16.5 kB / 1.466 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.047, allocations: 7.938 kB / 1.466 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.047, allocations: 19.92 kB / 1.466 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.048, allocations: 0.83 MB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/1.048, allocations: 240.4 kB / 1.467 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.048, allocations: 15.94 kB / 1.467 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005989/1.049, allocations: 35.97 kB / 1.467 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/1.049, allocations: 39.83 kB / 1.467 GB, free: 15.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/1.049, allocations: 27.98 kB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009561/1.05, allocations: 0.7038 MB / 1.468 GB, free: 14.89 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 1.468 GB, free: 14.89 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007325/1.05, allocations: 259.9 kB / 1.468 GB, free: 14.64 MB / 1.17 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.001598/1.052, allocations: 1.489 MB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.053, allocations: 0.5001 MB / 1.47 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.053, allocations: 3.938 kB / 1.47 GB, free: 12.58 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/1.053, allocations: 191.7 kB / 1.47 GB, free: 12.39 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.056, allocations: 0.6092 MB / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.066, allocations: 7.635 MB / 1.478 GB, free: 3.781 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/1.066, allocations: 1.099 MB / 1.479 GB, free: 2.652 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008238/1.067, allocations: 252.3 kB / 1.479 GB, free: 2.402 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/1.068, allocations: 339.3 kB / 1.48 GB, free: 2.07 MB / 1.17 GB Notification: Performance of SimCode: time 6.41e-07/1.068, allocations: 0 / 1.48 GB, free: 2.07 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.871/2.938, allocations: 27.8 MB / 1.507 GB, free: 6.695 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/13.3, allocations: 7.781 kB / 1.507 GB, free: 6.688 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches