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.00106/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001549/0.001549, allocations: 190 kB / 16.25 MB, free: 6.637 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.506/2.506, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.8689 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6182, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1651/0.7833, allocations: 187.9 MB / 1.2 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008481/0.7918, allocations: 5.652 MB / 1.206 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.793, allocations: 35.75 kB / 1.206 GB, free: 472 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.7943, allocations: 0.5131 MB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.7977, allocations: 1.509 MB / 1.208 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.8003, allocations: 1.097 MB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.8028, allocations: 2.511 MB / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.8038, allocations: 0.9613 MB / 1.212 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.8053, allocations: 1.023 MB / 1.213 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.8067, allocations: 0.8677 MB / 1.214 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.8069, allocations: 104 kB / 1.214 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.8091, allocations: 1.598 MB / 1.216 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.8095, allocations: 0.4909 MB / 1.216 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005336/0.8101, allocations: 0.63 MB / 1.217 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.8122, allocations: 2.174 MB / 1.219 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8122, allocations: 0 / 1.219 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.877e-06/0.8122, allocations: 3.984 kB / 1.219 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.8123, allocations: 0 / 1.219 GB, free: 2.934 MB / 0.9669 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.002101/0.8144, allocations: 1.472 MB / 1.221 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8144, allocations: 8.031 kB / 1.221 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.8146, allocations: 139.2 kB / 1.221 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.8165, allocations: 338.2 kB / 1.221 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.8175, allocations: 0.7726 MB / 1.222 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.8179, allocations: 122 kB / 1.222 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.818, allocations: 87.94 kB / 1.222 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.8197, allocations: 1.072 MB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.8197, allocations: 0 / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.8198, allocations: 36 kB / 1.223 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.8199, allocations: 34 kB / 1.223 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.8213, allocations: 0.8431 MB / 1.224 GB, free: 13.89 MB / 0.9825 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.004859/0.8261, allocations: 4.046 MB / 1.228 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.8267, allocations: 367.4 kB / 1.228 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.827, allocations: 215.4 kB / 1.228 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.8272, allocations: 112.9 kB / 1.229 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.8272, allocations: 38.56 kB / 1.229 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.8272, allocations: 3.938 kB / 1.229 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002286/0.8295, allocations: 1.331 MB / 1.23 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.8296, allocations: 55.41 kB / 1.23 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.8308, allocations: 0.9921 MB / 1.231 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.8308, allocations: 37.7 kB / 1.231 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.8311, allocations: 495.2 kB / 1.231 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.8313, allocations: 138 kB / 1.232 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.8315, allocations: 118.2 kB / 1.232 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8316, allocations: 329.9 kB / 1.232 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.8321, allocations: 241.1 kB / 1.232 GB, free: 5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.8326, allocations: 401.3 kB / 1.233 GB, free: 4.539 MB / 0.9825 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.002325/0.835, allocations: 1.195 MB / 1.234 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.835, allocations: 0 / 1.234 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001261/0.8362, allocations: 0.7536 MB / 1.234 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8363, allocations: 9.406 kB / 1.234 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8363, allocations: 4 kB / 1.234 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8363, allocations: 12.25 kB / 1.234 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.8368, allocations: 143.7 kB / 1.235 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.8369, allocations: 8 kB / 1.235 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008668/0.8377, allocations: 95.77 kB / 1.235 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.8378, allocations: 28 kB / 1.235 GB, free: 2.203 MB / 0.9825 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.000368/0.8382, allocations: 309.5 kB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.8383, allocations: 102.7 kB / 1.235 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.8385, allocations: 109 kB / 1.235 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8385, allocations: 8 kB / 1.235 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8385, allocations: 0 / 1.235 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006128/0.8391, allocations: 0.6674 MB / 1.236 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.8412, allocations: 1.584 MB / 1.237 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.8413, allocations: 8.031 kB / 1.237 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.8416, allocations: 83.89 kB / 1.238 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.8416, allocations: 7.938 kB / 1.238 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.8417, allocations: 12 kB / 1.238 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.8417, allocations: 8 kB / 1.238 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8417, allocations: 15.86 kB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/0.8427, allocations: 0.8294 MB / 1.238 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.843, allocations: 231.9 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.8431, allocations: 12 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.8438, allocations: 59.8 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.8439, allocations: 39.84 kB / 1.239 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.844, allocations: 27.98 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009077/0.8449, allocations: 0.7074 MB / 1.239 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8449, allocations: 0 / 1.239 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007192/0.8456, allocations: 252 kB / 1.24 GB, free: 12.86 MB / 0.9981 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.001471/0.8471, allocations: 1.487 MB / 1.241 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008998/0.848, allocations: 0.5194 MB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.848, allocations: 4 kB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.8483, allocations: 191.3 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8507, allocations: 0.6226 MB / 1.242 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.8615, allocations: 8.221 MB / 1.25 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.8622, allocations: 1.095 MB / 1.252 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.4189/1.281, allocations: 242.2 kB / 1.252 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/1.282, allocations: 339.3 kB / 1.252 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.282, allocations: 0.75 kB / 1.252 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.846/4.127, allocations: 27.28 MB / 1.279 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/4.128, allocations: 278.2 kB / 1.279 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/6.938, allocations: 0 / 1.279 GB, free: 224.1 MB / 0.9981 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