Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.0009393/0.0009395, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005811/0.005811, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003149, allocations: 16.36 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2765, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1941/0.4706, allocations: 185.9 MB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009037/0.4797, allocations: 5.738 MB / 1.246 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.4808, allocations: 35.75 kB / 1.246 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.4821, allocations: 0.4974 MB / 1.246 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.4859, allocations: 1.533 MB / 1.248 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.4887, allocations: 1.088 MB / 1.249 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5448/1.034, allocations: 3.532 MB / 1.252 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/1.035, allocations: 0.7246 MB / 1.253 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/1.037, allocations: 0.8773 MB / 1.254 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.038, allocations: 0.8016 MB / 1.255 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/1.038, allocations: 38.31 kB / 1.255 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/1.041, allocations: 1.715 MB / 1.256 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004162/1.041, allocations: 342.2 kB / 1.257 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006205/1.042, allocations: 0.5428 MB / 1.257 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003157/1.045, allocations: 2.018 MB / 1.259 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.045, allocations: 0.6562 kB / 1.259 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.045, allocations: 0 / 1.259 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.045, allocations: 0 / 1.259 GB, free: 3.926 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002196/1.047, allocations: 1.237 MB / 1.261 GB, free: 19.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.048, allocations: 10.77 kB / 1.261 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/1.048, allocations: 124.7 kB / 1.261 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/1.05, allocations: 437.2 kB / 1.261 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.051, allocations: 0.759 MB / 1.262 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/1.052, allocations: 127.2 kB / 1.262 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/1.052, allocations: 76.41 kB / 1.262 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/1.054, allocations: 1 MB / 1.263 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.054, allocations: 10.88 kB / 1.263 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/1.054, allocations: 33.22 kB / 1.263 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/1.054, allocations: 33.88 kB / 1.263 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/1.056, allocations: 0.9105 MB / 1.264 GB, free: 18.65 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.006389/1.062, allocations: 3.531 MB / 1.267 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.064, allocations: 0.6478 MB / 1.268 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/1.065, allocations: 354.5 kB / 1.268 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/1.065, allocations: 105.3 kB / 1.268 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/1.065, allocations: 39.98 kB / 1.269 GB, free: 17.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/1.065, allocations: 4 kB / 1.269 GB, free: 17.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.00917/1.074, allocations: 2.535 MB / 1.271 GB, free: 16.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/1.074, allocations: 62.02 kB / 1.271 GB, free: 16.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.076, allocations: 0.7941 MB / 1.272 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/1.076, allocations: 35.3 kB / 1.272 GB, free: 16.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/1.076, allocations: 446.4 kB / 1.272 GB, free: 16.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.076, allocations: 149 kB / 1.272 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/1.076, allocations: 49.34 kB / 1.272 GB, free: 16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.077, allocations: 324.8 kB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008409/1.077, allocations: 323.6 kB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009033/1.078, allocations: 436.8 kB / 1.274 GB, free: 15.58 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.005968/1.084, allocations: 1.977 MB / 1.275 GB, free: 15.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.084, allocations: 9.375 kB / 1.275 GB, free: 15.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00367/1.088, allocations: 1.087 MB / 1.277 GB, free: 15.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.088, allocations: 9.188 kB / 1.277 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.088, allocations: 2.562 kB / 1.277 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/1.089, allocations: 197.9 kB / 1.277 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/1.089, allocations: 163.1 kB / 1.277 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/1.093, allocations: 2.105 MB / 1.279 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.095, allocations: 91.5 kB / 1.279 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/1.095, allocations: 25.58 kB / 1.279 GB, free: 13.86 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 sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005358/1.095, allocations: 274.9 kB / 1.279 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.095, allocations: 91.47 kB / 1.279 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/1.096, allocations: 95.94 kB / 1.279 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.096, allocations: 7.172 kB / 1.279 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.096, allocations: 1.188 kB / 1.279 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002995/1.099, allocations: 0.9503 MB / 1.28 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/1.104, allocations: 2.173 MB / 1.283 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.104, allocations: 3.25 kB / 1.283 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.104, allocations: 143.2 kB / 1.283 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/1.105, allocations: 197.8 kB / 1.283 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.105, allocations: 14.03 kB / 1.283 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/1.108, allocations: 2.076 MB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.108, allocations: 3.891 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/1.112, allocations: 1.5 MB / 1.286 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/1.113, allocations: 236.6 kB / 1.287 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.113, allocations: 17.75 kB / 1.287 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/1.114, allocations: 97.17 kB / 1.287 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/1.114, allocations: 34.67 kB / 1.287 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/1.114, allocations: 28.41 kB / 1.287 GB, free: 11.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007204/1.115, allocations: 0.5554 MB / 1.287 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.115, allocations: 1.312 kB / 1.287 GB, free: 11.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009768/1.116, allocations: 280.7 kB / 1.288 GB, free: 11.11 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004415/1.12, allocations: 2.132 MB / 1.29 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.122, allocations: 0.8432 MB / 1.29 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.122, allocations: 1 kB / 1.29 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009492/1.123, allocations: 477.9 kB / 1.291 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/1.126, allocations: 0.5323 MB / 1.291 GB, free: 9.918 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.142, allocations: 8.44 MB / 1.3 GB, free: 6.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/1.143, allocations: 1.042 MB / 1.301 GB, free: 6.129 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009421/1.144, allocations: 210.6 kB / 1.301 GB, free: 6.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/1.144, allocations: 315.4 kB / 1.301 GB, free: 6.07 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.144, allocations: 0 / 1.301 GB, free: 6.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/1.188, allocations: 26.35 MB / 1.327 GB, free: 15.16 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/1.188, allocations: 331.4 kB / 1.327 GB, free: 14.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.57, allocations: 0 / 1.327 GB, free: 14.78 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches