Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.75 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2513, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1898/0.4411, allocations: 190.5 MB / 1.239 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009897/0.4511, allocations: 5.713 MB / 1.244 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.4529, allocations: 39.81 kB / 1.245 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.4545, allocations: 0.5669 MB / 1.245 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.4584, allocations: 1.61 MB / 1.247 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.5063/0.9648, allocations: 1.201 MB / 1.248 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.9682, allocations: 2.551 MB / 1.25 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.9695, allocations: 1.038 MB / 1.251 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.9711, allocations: 1.037 MB / 1.252 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.9725, allocations: 0.8511 MB / 1.253 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.9726, allocations: 111.5 kB / 1.253 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.975, allocations: 1.555 MB / 1.255 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.9755, allocations: 0.4974 MB / 1.255 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.9762, allocations: 0.6414 MB / 1.256 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.9789, allocations: 2.157 MB / 1.258 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9789, allocations: 1.625 kB / 1.258 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9789, allocations: 0 / 1.258 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.9789, allocations: 0.6562 kB / 1.258 GB, free: 4.285 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002364/0.9813, allocations: 1.522 MB / 1.26 GB, free: 19.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.9813, allocations: 9.469 kB / 1.26 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.9815, allocations: 145.1 kB / 1.26 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.9845, allocations: 473.5 kB / 1.26 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.9857, allocations: 0.8165 MB / 1.261 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.9861, allocations: 121.2 kB / 1.261 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.9862, allocations: 88.27 kB / 1.261 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.9884, allocations: 1.184 MB / 1.262 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.9885, allocations: 3.75 kB / 1.262 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.9886, allocations: 38.75 kB / 1.262 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.9886, allocations: 35.47 kB / 1.262 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.9912, allocations: 1.079 MB / 1.263 GB, free: 18.97 MB / 1.014 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.007417/0.9986, allocations: 4.349 MB / 1.268 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/1.001, allocations: 0.7581 MB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.002, allocations: 408.2 kB / 1.269 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/1.002, allocations: 105.7 kB / 1.269 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.002, allocations: 42.92 kB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/1.002, allocations: 2.938 kB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006941/1.009, allocations: 2.204 MB / 1.271 GB, free: 16.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/1.009, allocations: 57.12 kB / 1.271 GB, free: 16.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.011, allocations: 0.8679 MB / 1.272 GB, free: 16.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/1.011, allocations: 37.45 kB / 1.272 GB, free: 16.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/1.011, allocations: 492.7 kB / 1.272 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.011, allocations: 161.7 kB / 1.273 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.011, allocations: 125.1 kB / 1.273 GB, free: 16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.011, allocations: 331.6 kB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.012, allocations: 373.6 kB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/1.014, allocations: 0.5042 MB / 1.274 GB, free: 15.56 MB / 1.014 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.006577/1.02, allocations: 2.29 MB / 1.276 GB, free: 15.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.02, allocations: 1.75 kB / 1.276 GB, free: 15.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002664/1.023, allocations: 0.9972 MB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.023, allocations: 10.16 kB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.023, allocations: 8.875 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.023, allocations: 5.75 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/1.024, allocations: 190.9 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/1.024, allocations: 10.41 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.025, allocations: 77.05 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/1.025, allocations: 26.83 kB / 1.277 GB, free: 15.2 MB / 1.014 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.000537/1.026, allocations: 309.3 kB / 1.278 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/1.026, allocations: 93.17 kB / 1.278 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/1.026, allocations: 105.2 kB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.026, allocations: 7.75 kB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.026, allocations: 1.688 kB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002034/1.028, allocations: 1.036 MB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/1.033, allocations: 2.16 MB / 1.281 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.033, allocations: 6.984 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/1.034, allocations: 169.4 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.034, allocations: 5.625 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/1.034, allocations: 17.62 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/1.034, allocations: 12.59 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.034, allocations: 3.812 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/1.037, allocations: 1.432 MB / 1.283 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/1.038, allocations: 255.2 kB / 1.283 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.038, allocations: 15.69 kB / 1.283 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009183/1.039, allocations: 70.36 kB / 1.283 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/1.039, allocations: 41.62 kB / 1.283 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/1.039, allocations: 28.56 kB / 1.283 GB, free: 13.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007065/1.04, allocations: 0.6026 MB / 1.284 GB, free: 13.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.04, allocations: 0 / 1.284 GB, free: 13.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008928/1.041, allocations: 266.4 kB / 1.284 GB, free: 13.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 45 * 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.003505/1.044, allocations: 2.086 MB / 1.286 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.046, allocations: 0.892 MB / 1.287 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.046, allocations: 1.625 kB / 1.287 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009422/1.047, allocations: 394.2 kB / 1.287 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.05, allocations: 0.588 MB / 1.288 GB, free: 12.56 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.063, allocations: 8.565 MB / 1.296 GB, free: 9.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/1.063, allocations: 1.109 MB / 1.297 GB, free: 8.859 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001039/1.064, allocations: 261.5 kB / 1.297 GB, free: 8.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/1.065, allocations: 350.6 kB / 1.298 GB, free: 8.793 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.065, allocations: 0 / 1.298 GB, free: 8.793 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3912/1.456, allocations: 28.54 MB / 1.326 GB, free: 2.434 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.68, allocations: 5.312 kB / 1.326 GB, free: 2.43 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches