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.005364/0.005364, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001147/0.001147, allocations: 193 kB / 16.67 MB, free: 5.93 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.286/2.286, allocations: 437.1 MB / 0.7106 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6659, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1913/0.8573, allocations: 190.4 MB / 1.352 GB, free: 4.703 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008568/0.8659, allocations: 5.694 MB / 1.358 GB, free: 15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.8668, allocations: 39.81 kB / 1.358 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.8681, allocations: 0.5591 MB / 1.358 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.8715, allocations: 1.61 MB / 1.36 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.8742, allocations: 1.213 MB / 1.361 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.877, allocations: 2.497 MB / 1.363 GB, free: 9.066 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.8782, allocations: 0.9926 MB / 1.364 GB, free: 8.055 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.8797, allocations: 1.031 MB / 1.365 GB, free: 7.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.8812, allocations: 0.8178 MB / 1.366 GB, free: 6.203 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.8813, allocations: 100 kB / 1.366 GB, free: 6.105 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.8839, allocations: 1.528 MB / 1.368 GB, free: 4.574 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.8844, allocations: 0.4948 MB / 1.368 GB, free: 4.078 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.8851, allocations: 0.6144 MB / 1.369 GB, free: 3.461 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.8877, allocations: 2.114 MB / 1.371 GB, free: 1.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8877, allocations: 0 / 1.371 GB, free: 1.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8877, allocations: 0 / 1.371 GB, free: 1.34 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.8877, allocations: 0 / 1.371 GB, free: 1.34 MB / 1.092 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.002148/0.8899, allocations: 1.513 MB / 1.372 GB, free: 15.77 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.8899, allocations: 8.922 kB / 1.372 GB, free: 15.76 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.8901, allocations: 143.2 kB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.8919, allocations: 335 kB / 1.373 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.893, allocations: 0.82 MB / 1.374 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.8931, allocations: 66 kB / 1.374 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.8932, allocations: 84 kB / 1.374 GB, free: 14.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.8949, allocations: 1.067 MB / 1.375 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.895, allocations: 4 kB / 1.375 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.895, allocations: 40 kB / 1.375 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.8951, allocations: 37.98 kB / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.8965, allocations: 0.8274 MB / 1.376 GB, free: 12.26 MB / 1.107 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.005104/0.9017, allocations: 4.267 MB / 1.38 GB, free: 7.723 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.9022, allocations: 367.2 kB / 1.38 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.9026, allocations: 219.6 kB / 1.38 GB, free: 7.141 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.9027, allocations: 101 kB / 1.381 GB, free: 7.023 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.9028, allocations: 42.56 kB / 1.381 GB, free: 6.973 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.9028, allocations: 0 / 1.381 GB, free: 6.973 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.002305/0.9051, allocations: 1.354 MB / 1.382 GB, free: 5.566 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.9051, allocations: 67.09 kB / 1.382 GB, free: 5.488 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.9064, allocations: 0.9928 MB / 1.383 GB, free: 4.473 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.9065, allocations: 37.7 kB / 1.383 GB, free: 4.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.9069, allocations: 0.4963 MB / 1.383 GB, free: 3.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.907, allocations: 146.7 kB / 1.384 GB, free: 3.785 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9072, allocations: 130.2 kB / 1.384 GB, free: 3.652 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9073, allocations: 334 kB / 1.384 GB, free: 3.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.9078, allocations: 233.2 kB / 1.384 GB, free: 3.094 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.9084, allocations: 419.8 kB / 1.385 GB, free: 2.605 MB / 1.107 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.002418/0.9108, allocations: 1.221 MB / 1.386 GB, free: 1.289 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.9108, allocations: 8 kB / 1.386 GB, free: 1.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001302/0.9121, allocations: 0.7617 MB / 1.387 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9122, allocations: 8 kB / 1.387 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9122, allocations: 8.469 kB / 1.387 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.9122, allocations: 16 kB / 1.387 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.9127, allocations: 139.8 kB / 1.387 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9128, allocations: 11.94 kB / 1.387 GB, free: 340 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.9135, allocations: 55.95 kB / 1.387 GB, free: 284 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.9136, allocations: 31.98 kB / 1.387 GB, free: 252 kB / 1.107 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.0003892/0.914, allocations: 313.5 kB / 1.387 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.9141, allocations: 107.3 kB / 1.387 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.9143, allocations: 105 kB / 1.387 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.9143, allocations: 4 kB / 1.387 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9143, allocations: 0 / 1.387 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006815/0.915, allocations: 0.683 MB / 1.388 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.9172, allocations: 1.582 MB / 1.39 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9172, allocations: 4.5 kB / 1.39 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.9176, allocations: 83.91 kB / 1.39 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.9176, allocations: 8 kB / 1.39 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.9176, allocations: 11.98 kB / 1.39 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.9177, allocations: 15.88 kB / 1.39 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.9177, allocations: 4 kB / 1.39 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.9187, allocations: 0.8317 MB / 1.391 GB, free: 12.24 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.919, allocations: 244.4 kB / 1.391 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.9191, allocations: 19.86 kB / 1.391 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.9197, allocations: 39.97 kB / 1.391 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.9198, allocations: 35.84 kB / 1.391 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.9199, allocations: 31.92 kB / 1.391 GB, free: 11.86 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009477/0.9208, allocations: 0.7077 MB / 1.392 GB, free: 11.14 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9208, allocations: 0 / 1.392 GB, free: 11.14 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006997/0.9215, allocations: 255.9 kB / 1.392 GB, free: 10.89 MB / 1.123 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.001614/0.9231, allocations: 1.488 MB / 1.393 GB, free: 9.328 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008717/0.924, allocations: 500 kB / 1.394 GB, free: 8.84 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.924, allocations: 7.938 kB / 1.394 GB, free: 8.832 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.9243, allocations: 190 kB / 1.394 GB, free: 8.648 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.9268, allocations: 0.6219 MB / 1.395 GB, free: 8.039 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009704/0.9365, allocations: 7.638 MB / 1.402 GB, free: 28 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007158/0.9372, allocations: 1.099 MB / 1.403 GB, free: 14.9 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007404/0.938, allocations: 248.3 kB / 1.403 GB, free: 14.65 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.9384, allocations: 343.3 kB / 1.404 GB, free: 14.32 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/0.9384, allocations: 0 / 1.404 GB, free: 14.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.457/2.395, allocations: 27.79 MB / 1.431 GB, free: 2.898 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/16.89, allocations: 11.8 kB / 1.431 GB, free: 2.887 MB / 1.154 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=400 --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